메소드 | 설명 | |
---|---|---|
GetLatestUserSessions ( System.Guid userId, |
Gets the latest session(s) for a given user.
|
|
GetUserByID ( System.Guid userId ) : |
Gets a user by identity.
|
|
GetUserByName ( string name ) : |
Gets a user by name.
|
|
Initialize ( string name, |
Initializes the provider from the configuration values.
|
|
UserProvider ( ) : System |
Creates a new instance.
|
|
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 connectionNameUser, string connectionNameUserSalt, string connectionNameAudit ) : System |
Creates a new instance with a separate named connections for each secure area.
|
|
UserProvider ( string name ) : System |
Creates a new isntance with a specific name. No initialization.
|
메소드 | 설명 | |
---|---|---|
GetRecentFailedUserNameAuthenticationCount ( string name ) : |
Gets the number of times a user name has failed authentication within the configured allowable failure period.
|
|
GetSessionAuthenticationHistory ( |
Gets the authentication history for a specific session.
|
|
GetUserSalt ( System.Guid userId ) : |
Gets a user's salt metadata.
|
|
GetUserSession ( System.Guid renewalToken ) : |
Gets a user session by the renewal token.
|
|
InsertUserHistory ( |
Inserts a new user authentication history.
|
|
SaveUser ( |
Saves a user, insert or update depending if RecordId is non-zero.
|
|
SaveUserSalt ( |
Saves a user salt, insert or update depending if RecordId is non-zero.
|
|
SaveUserSession ( |
Saves a user session, insert or update.
|
메소드 | 설명 | |
---|---|---|
BuildUser ( System.Data.SqlClient.SqlDataReader reader ) : |
||
GetConnectionString ( String name ) : string | ||
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 ) : |
||
name | string | |
리턴 |
protected GetSessionAuthenticationHistory ( |
||
session | ||
리턴 |
public GetUserByID ( System.Guid userId ) : |
||
userId | System.Guid | The unique identity. |
리턴 |
public GetUserByName ( string name ) : |
||
name | string | The unique sign in name. |
리턴 |
protected GetUserSalt ( System.Guid userId ) : |
||
userId | System.Guid | |
리턴 |
protected GetUserSession ( System.Guid renewalToken ) : |
||
renewalToken | System.Guid | |
리턴 |
public Initialize ( string name, |
||
name | string | The name of this provider instance. |
config | The configuration values. | |
리턴 | void |
protected InsertUserHistory ( |
||
history | ||
리턴 | void |
protected SaveUserSalt ( |
||
salt | ||
리턴 | void |
protected SaveUserSession ( |
||
session | ||
리턴 | void |
public UserProvider ( String name, string connectionName ) : System | ||
name | String | A name for this provider instance, unique for all User Providers. |
connectionName | string | A SQL database connection named defined in configuration. |
리턴 | System |
public UserProvider ( String name, string connectionNameUser, string connectionNameUserSalt, string connectionNameAudit ) : System | ||
name | String | A name for this provider instance, unique for all User Providers. |
connectionNameUser | string | A SQL database connection named defined in configuration; used for the user table only. |
connectionNameUserSalt | string | A SQL database connection named defined in configuration; used for storing user salts only. |
connectionNameAudit | string | A SQL database connection named defined in configuration; used for audit tables. |
리턴 | System |