Skip to main content

IAuthRepository

Assembly: ServiceStack.dll
View Source
Declaration
public interface IAuthRepository

Methods

LoadUserAuth(IAuthSession, IAuthTokens)

View Source
Declaration
void LoadUserAuth(IAuthSession session, IAuthTokens tokens)
Parameters
TypeName
ServiceStack.Auth.IAuthSessionsession
ServiceStack.Auth.IAuthTokenstokens

SaveUserAuth(IAuthSession)

View Source
Declaration
void SaveUserAuth(IAuthSession authSession)
Parameters
TypeName
ServiceStack.Auth.IAuthSessionauthSession

GetUserAuthDetails(String)

View Source
Declaration
List<IUserAuthDetails> GetUserAuthDetails(string userAuthId)
Returns

System.Collections.Generic.List<ServiceStack.Auth.IUserAuthDetails>

Parameters
TypeName
System.StringuserAuthId

CreateOrMergeAuthSession(IAuthSession, IAuthTokens)

View Source
Declaration
IUserAuthDetails CreateOrMergeAuthSession(IAuthSession authSession, IAuthTokens tokens)
Returns

ServiceStack.Auth.IUserAuthDetails

Parameters
TypeName
ServiceStack.Auth.IAuthSessionauthSession
ServiceStack.Auth.IAuthTokenstokens

GetUserAuth(IAuthSession, IAuthTokens)

View Source
Declaration
IUserAuth GetUserAuth(IAuthSession authSession, IAuthTokens tokens)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
ServiceStack.Auth.IAuthSessionauthSession
ServiceStack.Auth.IAuthTokenstokens

GetUserAuthByUserName(String)

View Source
Declaration
IUserAuth GetUserAuthByUserName(string userNameOrEmail)
Returns

ServiceStack.Auth.IUserAuth

Parameters
TypeName
System.StringuserNameOrEmail

SaveUserAuth(IUserAuth)

View Source
Declaration
void SaveUserAuth(IUserAuth userAuth)
Parameters
TypeName
ServiceStack.Auth.IUserAuthuserAuth

TryAuthenticate(String, String, out IUserAuth)

View Source
Declaration
bool TryAuthenticate(string userName, string password, out IUserAuth userAuth)
Returns

System.Boolean

Parameters
TypeName
System.StringuserName
System.Stringpassword
ServiceStack.Auth.IUserAuthuserAuth

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
TypeName
System.Collections.Generic.Dictionary<System.String,System.String>digestHeaders
System.StringprivateKey
System.Int32nonceTimeOut
System.Stringsequence
ServiceStack.Auth.IUserAuthuserAuth