IAuthRepository
Assembly: ServiceStack.dll
View Source
Declaration
public interface IAuthRepository
Methods
LoadUserAuth(IAuthSession, IAuthTokens)
View Source
Declaration
void LoadUserAuth(IAuthSession session, IAuthTokens tokens)
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthSession | session |
ServiceStack.Auth.IAuthTokens | tokens |
SaveUserAuth(IAuthSession)
View Source
Declaration
void SaveUserAuth(IAuthSession authSession)
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthSession | authSession |
GetUserAuthDetails(String)
View Source
Declaration
List<IUserAuthDetails> GetUserAuthDetails(string userAuthId)
Returns
System.Collections.Generic.List<ServiceStack.Auth.IUserAuthDetails>
Parameters
Type | Name |
---|---|
System.String | userAuthId |
CreateOrMergeAuthSession(IAuthSession, IAuthTokens)
View Source
Declaration
IUserAuthDetails CreateOrMergeAuthSession(IAuthSession authSession, IAuthTokens tokens)
Returns
ServiceStack.Auth.IUserAuthDetails
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthSession | authSession |
ServiceStack.Auth.IAuthTokens | tokens |
GetUserAuth(IAuthSession, IAuthTokens)
View Source
Declaration
IUserAuth GetUserAuth(IAuthSession authSession, IAuthTokens tokens)
Returns
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthSession | authSession |
ServiceStack.Auth.IAuthTokens | tokens |
GetUserAuthByUserName(String)
View Source
Declaration
IUserAuth GetUserAuthByUserName(string userNameOrEmail)
Returns
Parameters
Type | Name |
---|---|
System.String | userNameOrEmail |
SaveUserAuth(IUserAuth)
View Source
Declaration
void SaveUserAuth(IUserAuth userAuth)
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IUserAuth | userAuth |
TryAuthenticate(String, String, out IUserAuth)
View Source
Declaration
bool TryAuthenticate(string userName, string password, out IUserAuth userAuth)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.String | userName |
System.String | password |
ServiceStack.Auth.IUserAuth | userAuth |
TryAuthenticate(Dictionary<String, String>, String, Int32, String, out IUserAuth)
View Source
Declaration
bool TryAuthenticate(Dictionary<string, string> digestHeaders, string privateKey, int nonceTimeOut, string sequence, out IUserAuth userAuth)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Collections.Generic.Dictionary<System.String,System.String> | digestHeaders |
System.String | privateKey |
System.Int32 | nonceTimeOut |
System.String | sequence |
ServiceStack.Auth.IUserAuth | userAuth |