Skip to main content

AuthMetadataProvider

Assembly: ServiceStack.dll
View Source
Declaration
public class AuthMetadataProvider : IAuthMetadataProvider

Properties

NoProfileImgUrl

View Source
Declaration
public string NoProfileImgUrl { get; set; }

Fields

ProfileUrlKey

View Source
Declaration
public const string ProfileUrlKey = "profileUrl"

Methods

AddMetadata(IAuthTokens, Dictionary<String, String>)

View Source
Declaration
public virtual void AddMetadata(IAuthTokens tokens, Dictionary<string, string> authInfo)
Parameters
TypeName
ServiceStack.Auth.IAuthTokenstokens
System.Collections.Generic.Dictionary<System.String,System.String>authInfo

AddProfileUrl(IAuthTokens, Dictionary<String, String>)

View Source
Declaration
public virtual void AddProfileUrl(IAuthTokens tokens, Dictionary<string, string> authInfo)
Parameters
TypeName
ServiceStack.Auth.IAuthTokenstokens
System.Collections.Generic.Dictionary<System.String,System.String>authInfo

GetRedirectUrlIfAny(String)

View Source
Declaration
public static string GetRedirectUrlIfAny(string url)
Returns

System.String

Parameters
TypeName
System.Stringurl

GetProfileUrl(IAuthSession, String)

View Source
Declaration
public virtual string GetProfileUrl(IAuthSession authSession, string defaultUrl = null)
Returns

System.String

Parameters
TypeName
ServiceStack.Auth.IAuthSessionauthSession
System.StringdefaultUrl

Implements