C# Класс Amss.Boilerplate.Api.Configuration.CustomUserAuthRepository

Наследование: IUserAuthRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateOrMergeAuthSession ( IAuthSession authSession, IOAuthTokens tokens ) : string
CreateUserAuth ( ServiceStack.ServiceInterface.Auth.UserAuth newUser, string password ) : ServiceStack.ServiceInterface.Auth.UserAuth
GetUserAuth ( IAuthSession authSession, IOAuthTokens tokens ) : ServiceStack.ServiceInterface.Auth.UserAuth
GetUserAuth ( string userAuthId ) : ServiceStack.ServiceInterface.Auth.UserAuth
GetUserAuthByUserName ( string userNameOrEmail ) : ServiceStack.ServiceInterface.Auth.UserAuth
GetUserOAuthProviders ( string userAuthId ) : List
LoadUserAuth ( IAuthSession session, IOAuthTokens tokens ) : void
SaveUserAuth ( IAuthSession authSession ) : void
SaveUserAuth ( ServiceStack.ServiceInterface.Auth.UserAuth userAuth ) : void
TryAuthenticate ( string>.Dictionary digestHeaders, string privateKey, int nonceTimeOut, string sequence, ServiceStack.ServiceInterface.Auth.UserAuth &userAuth ) : bool
TryAuthenticate ( string userName, string password, ServiceStack.ServiceInterface.Auth.UserAuth &userAuth ) : bool
UpdateUserAuth ( ServiceStack.ServiceInterface.Auth.UserAuth existingUser, ServiceStack.ServiceInterface.Auth.UserAuth newUser, string password ) : ServiceStack.ServiceInterface.Auth.UserAuth

Описание методов

CreateOrMergeAuthSession() публичный Метод

public CreateOrMergeAuthSession ( IAuthSession authSession, IOAuthTokens tokens ) : string
authSession IAuthSession
tokens IOAuthTokens
Результат string

CreateUserAuth() публичный Метод

public CreateUserAuth ( ServiceStack.ServiceInterface.Auth.UserAuth newUser, string password ) : ServiceStack.ServiceInterface.Auth.UserAuth
newUser ServiceStack.ServiceInterface.Auth.UserAuth
password string
Результат ServiceStack.ServiceInterface.Auth.UserAuth

GetUserAuth() публичный Метод

public GetUserAuth ( IAuthSession authSession, IOAuthTokens tokens ) : ServiceStack.ServiceInterface.Auth.UserAuth
authSession IAuthSession
tokens IOAuthTokens
Результат ServiceStack.ServiceInterface.Auth.UserAuth

GetUserAuth() публичный Метод

public GetUserAuth ( string userAuthId ) : ServiceStack.ServiceInterface.Auth.UserAuth
userAuthId string
Результат ServiceStack.ServiceInterface.Auth.UserAuth

GetUserAuthByUserName() публичный Метод

public GetUserAuthByUserName ( string userNameOrEmail ) : ServiceStack.ServiceInterface.Auth.UserAuth
userNameOrEmail string
Результат ServiceStack.ServiceInterface.Auth.UserAuth

GetUserOAuthProviders() публичный Метод

public GetUserOAuthProviders ( string userAuthId ) : List
userAuthId string
Результат List

LoadUserAuth() публичный Метод

public LoadUserAuth ( IAuthSession session, IOAuthTokens tokens ) : void
session IAuthSession
tokens IOAuthTokens
Результат void

SaveUserAuth() публичный Метод

public SaveUserAuth ( IAuthSession authSession ) : void
authSession IAuthSession
Результат void

SaveUserAuth() публичный Метод

public SaveUserAuth ( ServiceStack.ServiceInterface.Auth.UserAuth userAuth ) : void
userAuth ServiceStack.ServiceInterface.Auth.UserAuth
Результат void

TryAuthenticate() публичный Метод

public TryAuthenticate ( string>.Dictionary digestHeaders, string privateKey, int nonceTimeOut, string sequence, ServiceStack.ServiceInterface.Auth.UserAuth &userAuth ) : bool
digestHeaders string>.Dictionary
privateKey string
nonceTimeOut int
sequence string
userAuth ServiceStack.ServiceInterface.Auth.UserAuth
Результат bool

TryAuthenticate() публичный Метод

public TryAuthenticate ( string userName, string password, ServiceStack.ServiceInterface.Auth.UserAuth &userAuth ) : bool
userName string
password string
userAuth ServiceStack.ServiceInterface.Auth.UserAuth
Результат bool

UpdateUserAuth() публичный Метод

public UpdateUserAuth ( ServiceStack.ServiceInterface.Auth.UserAuth existingUser, ServiceStack.ServiceInterface.Auth.UserAuth newUser, string password ) : ServiceStack.ServiceInterface.Auth.UserAuth
existingUser ServiceStack.ServiceInterface.Auth.UserAuth
newUser ServiceStack.ServiceInterface.Auth.UserAuth
password string
Результат ServiceStack.ServiceInterface.Auth.UserAuth