Auth

Constructors

this
this(Request request)
Undocumented in source.

Members

Functions

canRememberMe
bool canRememberMe()
Undocumented in source. Be warned that the author may not have intended to support it.
guard
Guard guard()
Undocumented in source. Be warned that the author may not have intended to support it.
isEnabled
bool isEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
isGuardAvailable
bool isGuardAvailable()
Undocumented in source. Be warned that the author may not have intended to support it.
isLogout
bool isLogout()
Undocumented in source. Be warned that the author may not have intended to support it.
isTokenRefreshed
bool isTokenRefreshed()
Undocumented in source. Be warned that the author may not have intended to support it.
refreshToken
string refreshToken(string salt)
Undocumented in source. Be warned that the author may not have intended to support it.
scheme
AuthenticationScheme scheme()
Undocumented in source. Be warned that the author may not have intended to support it.
signIn
Identity signIn(string name, string password, bool remember)
Undocumented in source. Be warned that the author may not have intended to support it.
signIn
Identity signIn()

Use token to login

signOut
void signOut()
Undocumented in source. Be warned that the author may not have intended to support it.
token
string token()
Undocumented in source. Be warned that the author may not have intended to support it.
tokenCookieName
string tokenCookieName()
Undocumented in source. Be warned that the author may not have intended to support it.
touchSession
void touchSession()
Undocumented in source. Be warned that the author may not have intended to support it.
user
Identity user()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

toJwtClaimName
string toJwtClaimName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta