Property | Type | Description | |
---|---|---|---|
InitializeInternal | void |
Method | Description | |
---|---|---|
GetLatestUserSessions ( System.Guid userId, |
Gets the latest session(s) for a given user.
|
|
GetUserByID ( System.Guid userId ) : User |
Gets a user by identity.
|
|
GetUserByName ( string name ) : User |
Gets a user by name.
|
|
Initialize ( string name, |
Initializes the provider from the configuration values.
|
|
UserProvider ( ) : System |
Creates a new instance.
|
|
UserProvider ( String name ) : System |
Creates a new isntance with a specific name. No initialization.
|
|
UserProvider ( String name, String connectionName ) : System |
Creates a new instance with a specific name and a single named connection used for all operations.
|
|
UserProvider ( String name, String connectionName, String connectionNameUser, String connectionNameUserSalt, String connectionNameAudit ) : System |
Creates a new instance with a separate named connections for each secure area.
|
Method | Description | |
---|---|---|
GetRecentFailedUserNameAuthenticationCount ( string name ) : int |
Gets the number of times a user name has failed authentication within the configured allowable failure period.
|
|
GetSessionAuthenticationHistory ( UserSession session ) : AuthenticationHistory |
Gets the authentication history for a specific session.
|
|
GetUserSalt ( System.Guid userId ) : UserSalt |
Gets a user's salt metadata.
|
|
GetUserSession ( System.Guid renewalToken ) : UserSession |
Gets a user session by the renewal token.
|
|
InsertUserHistory ( AuthenticationHistory history ) : void |
Inserts a new user authentication history.
|
|
SaveUser ( User user ) : void |
Saves a user, insert or update.
|
|
SaveUserSalt ( UserSalt salt ) : void |
Saves a user salt, insert or update.
|
|
SaveUserSession ( UserSession session ) : void |
Saves a user session, insert or update.
|
Method | Description | |
---|---|---|
InitializeInternal ( string name, |
public GetLatestUserSessions ( System.Guid userId, |
||
userId | System.Guid | The unique identity. |
take | The maximum number of sessions to retrieve. | |
return | List |
protected GetRecentFailedUserNameAuthenticationCount ( string name ) : int | ||
name | string | |
return | int |
protected GetSessionAuthenticationHistory ( UserSession session ) : AuthenticationHistory | ||
session | UserSession | |
return | AuthenticationHistory |
public GetUserByID ( System.Guid userId ) : User | ||
userId | System.Guid | The unique identity. |
return | User |
public GetUserByName ( string name ) : User | ||
name | string | The unique sign in name. |
return | User |
protected GetUserSalt ( System.Guid userId ) : UserSalt | ||
userId | System.Guid | |
return | UserSalt |
protected GetUserSession ( System.Guid renewalToken ) : UserSession | ||
renewalToken | System.Guid | |
return | UserSession |
public Initialize ( string name, |
||
name | string | The name of this provider instance. |
config | The configuration values. | |
return | void |
protected InsertUserHistory ( AuthenticationHistory history ) : void | ||
history | AuthenticationHistory | |
return | void |
protected SaveUserSalt ( UserSalt salt ) : void | ||
salt | UserSalt | |
return | void |
protected SaveUserSession ( UserSession session ) : void | ||
session | UserSession | |
return | void |
public UserProvider ( String name, String connectionName ) : System | ||
name | String | A name for this provider instance, unique for all User Providers. |
connectionName | String | A table storage connection named defined in configuration. |
return | System |
public UserProvider ( String name, String connectionName, String connectionNameUser, String connectionNameUserSalt, String connectionNameAudit ) : System | ||
name | String | A name for this provider instance, unique for all User Providers. |
connectionName | String | A table storage connection named defined in configuration; only used if one of the other named connections is not specified. |
connectionNameUser | String | A table storage connection named defined in configuration; used for the user table only. |
connectionNameUserSalt | String | A table storage connection named defined in configuration; used for storing user salts only. |
connectionNameAudit | String | A table storage connection named defined in configuration; used for audit tables. |
return | System |