Identity

User Identity

Constructors

this
this(string guardName, bool isValid)
Undocumented in source.

Members

Functions

authScheme
AuthenticationScheme authScheme()
Undocumented in source. Be warned that the author may not have intended to support it.
authenticate
void authenticate(string username, string password, bool remember, string tokenName)
Undocumented in source. Be warned that the author may not have intended to support it.
authenticate
void authenticate(string token, AuthenticationScheme scheme)
Undocumented in source. Be warned that the author may not have intended to support it.
claim
Variant claim(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
claimAs
T claimAs(string type)
Undocumented in source. Be warned that the author may not have intended to support it.
claims
Claim[] claims()
Undocumented in source. Be warned that the author may not have intended to support it.
fullName
string fullName()
Undocumented in source. Be warned that the author may not have intended to support it.
hasAllRoles
bool hasAllRoles(string[] roles)
Undocumented in source. Be warned that the author may not have intended to support it.
hasRole
bool hasRole(string role)
Undocumented in source. Be warned that the author may not have intended to support it.
id
ulong id()
Undocumented in source. Be warned that the author may not have intended to support it.
isAuthenticated
bool isAuthenticated()
Undocumented in source. Be warned that the author may not have intended to support it.
isPermitted
bool isPermitted(string[] permissions)
Undocumented in source. Be warned that the author may not have intended to support it.
isValid
bool isValid()
Undocumented in source. Be warned that the author may not have intended to support it.
login
bool login(AuthenticationToken token)
Undocumented in source. Be warned that the author may not have intended to support it.
logout
void logout()

It should be called from the Auth

name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
subject
Subject subject()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
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.
userDetails
UserDetails userDetails()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta