C# Class Dovetail.SDK.Bootstrap.Token.AuthenticationTokenRepository

Inheritance: IAuthenticationTokenRepository
Mostra file Open project: DovetailSoftware/dovetail-bootstrap

Public Methods

Method Description
AuthenticationTokenRepository ( IApplicationClarifySession session, ILogger logger ) : System
GenerateToken ( string username ) : IAuthenticationToken
RetrieveByToken ( string token ) : IAuthenticationToken
RetrieveByUsername ( string username ) : IAuthenticationToken

Private Methods

Method Description
getQueriedUserGeneric ( string username ) : ClarifyGeneric

Method Details

AuthenticationTokenRepository() public method

public AuthenticationTokenRepository ( IApplicationClarifySession session, ILogger logger ) : System
session IApplicationClarifySession
logger ILogger
return System

GenerateToken() public method

public GenerateToken ( string username ) : IAuthenticationToken
username string
return IAuthenticationToken

RetrieveByToken() public method

public RetrieveByToken ( string token ) : IAuthenticationToken
token string
return IAuthenticationToken

RetrieveByUsername() public method

public RetrieveByUsername ( string username ) : IAuthenticationToken
username string
return IAuthenticationToken