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
Type | Name |
---|---|
ServiceStack.Auth.IAuthTokens | tokens |
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
Type | Name |
---|---|
ServiceStack.Auth.IAuthTokens | tokens |
System.Collections.Generic.Dictionary<System.String,System.String> | authInfo |
GetRedirectUrlIfAny(String)
View Source
Declaration
public static string GetRedirectUrlIfAny(string url)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | url |
GetProfileUrl(IAuthSession, String)
View Source
Declaration
public virtual string GetProfileUrl(IAuthSession authSession, string defaultUrl = null)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthSession | authSession |
System.String | defaultUrl |