C# 클래스 Amss.Boilerplate.Api.Configuration.CustomUserAuthRepository

상속: IUserAuthRepository
파일 보기 프로젝트 열기: quadio/amss-boilerplate

공개 메소드들

메소드 설명
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