Свойство | Тип | Описание | |
---|---|---|---|
InitializeInternal | void |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
InitializeInternal ( string name, |
public GetLatestUserSessions ( System.Guid userId, |
||
userId | System.Guid | The unique identity. |
take | The maximum number of sessions to retrieve. | |
Результат | List |
protected GetRecentFailedUserNameAuthenticationCount ( string name ) : int | ||
name | string | |
Результат | int |
protected GetSessionAuthenticationHistory ( UserSession session ) : AuthenticationHistory | ||
session | UserSession | |
Результат | AuthenticationHistory |
public GetUserByID ( System.Guid userId ) : User | ||
userId | System.Guid | The unique identity. |
Результат | User |
public GetUserByName ( string name ) : User | ||
name | string | The unique sign in name. |
Результат | User |
protected GetUserSalt ( System.Guid userId ) : UserSalt | ||
userId | System.Guid | |
Результат | UserSalt |
protected GetUserSession ( System.Guid renewalToken ) : UserSession | ||
renewalToken | System.Guid | |
Результат | UserSession |
public Initialize ( string name, |
||
name | string | The name of this provider instance. |
config | The configuration values. | |
Результат | void |
protected InsertUserHistory ( AuthenticationHistory history ) : void | ||
history | AuthenticationHistory | |
Результат | void |
protected SaveUserSalt ( UserSalt salt ) : void | ||
salt | UserSalt | |
Результат | void |
protected SaveUserSession ( UserSession session ) : void | ||
session | UserSession | |
Результат | void |
public UserProvider ( String name ) : System | ||
name | String | |
Результат | System |
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. |
Результат | 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. |
Результат | System |