Method | Description | |
---|---|---|
ConfirmAccount ( string accountConfirmationToken ) : bool | ||
ConfirmAccount ( string userName, string accountConfirmationToken ) : bool | ||
CreateAccount ( string userName, string password ) : string | ||
CreateAccount ( string userName, string password, bool requireConfirmationToken ) : string | ||
CreateOrUpdateOAuthAccount ( string provider, string providerUserId, string userName ) : void |
Creates a new OAuth account with the specified data or update an existing one if it already exists.
|
|
CreateUserAndAccount ( string userName, string password ) : string | ||
CreateUserAndAccount ( string userName, string password, object>.IDictionary |
||
CreateUserAndAccount ( string userName, string password, bool requireConfirmation ) : string | ||
CreateUserAndAccount ( string userName, string password, bool requireConfirmation, object>.IDictionary |
||
DeleteAccount ( string userName ) : bool | ||
DeleteOAuthAccount ( string provider, string providerUserId ) : void |
Deletes the OAuth and OpenID account with the specified provider name and provider user id.
|
|
DeleteOAuthToken ( string token ) : void |
Deletes the OAuth token from the backing store from the database.
|
|
GeneratePasswordResetToken ( string userName ) : string | ||
GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string | ||
GetAccountsForUser ( string userName ) : ICollection |
Gets all OAuth accounts associated with the specified username
|
|
GetCreateDate ( string userName ) : System.DateTime | ||
GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
GetOAuthTokenSecret ( string token ) : string |
Gets the OAuth token secret from the specified OAuth token.
|
|
GetPasswordChangedDate ( string userName ) : System.DateTime | ||
GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
GetUserIdFromOAuth ( string provider, string providerUserId ) : System.Guid |
Gets the id of the user with the specified provider name and provider user id.
|
|
GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
GetUserNameFromId ( System.Guid userId ) : string |
Gets the username of a user with the given id
|
|
HasLocalAccount ( System.Guid userId ) : bool |
Determines whether there exists a local account (as opposed to OAuth account) with the specified userId.
|
|
IsConfirmed ( string userName ) : bool | ||
ReplaceOAuthRequestTokenWithAccessToken ( string requestToken, string accessToken, string accessTokenSecret ) : void |
Replaces the request token with access token and secret in the database.
|
|
ResetPasswordWithToken ( string token, string newPassword ) : bool | ||
StoreOAuthRequestToken ( string requestToken, string requestTokenSecret ) : void |
Stores the specified token and secret into database.
|
Method | Description | |
---|---|---|
VerifyInitialized ( ) : void |
public abstract ConfirmAccount ( string accountConfirmationToken ) : bool | ||
accountConfirmationToken | string | |
return | bool |
public abstract ConfirmAccount ( string userName, string accountConfirmationToken ) : bool | ||
userName | string | |
accountConfirmationToken | string | |
return | bool |
public CreateAccount ( string userName, string password ) : string | ||
userName | string | |
password | string | |
return | string |
public abstract CreateAccount ( string userName, string password, bool requireConfirmationToken ) : string | ||
userName | string | |
password | string | |
requireConfirmationToken | bool | |
return | string |
public CreateOrUpdateOAuthAccount ( string provider, string providerUserId, string userName ) : void | ||
provider | string | The provider. |
providerUserId | string | The provider userid. |
userName | string | The username. |
return | void |
public CreateUserAndAccount ( string userName, string password ) : string | ||
userName | string | |
password | string | |
return | string |
public CreateUserAndAccount ( string userName, string password, object>.IDictionary |
||
userName | string | |
password | string | |
values | object>.IDictionary | |
return | string |
public CreateUserAndAccount ( string userName, string password, bool requireConfirmation ) : string | ||
userName | string | |
password | string | |
requireConfirmation | bool | |
return | string |
public abstract CreateUserAndAccount ( string userName, string password, bool requireConfirmation, object>.IDictionary |
||
userName | string | |
password | string | |
requireConfirmation | bool | |
values | object>.IDictionary | |
return | string |
public abstract DeleteAccount ( string userName ) : bool | ||
userName | string | |
return | bool |
public DeleteOAuthAccount ( string provider, string providerUserId ) : void | ||
provider | string | The provider. |
providerUserId | string | The provider user id. |
return | void |
public DeleteOAuthToken ( string token ) : void | ||
token | string | The token to be deleted. |
return | void |
public GeneratePasswordResetToken ( string userName ) : string | ||
userName | string | |
return | string |
public abstract GeneratePasswordResetToken ( string userName, int tokenExpirationInMinutesFromNow ) : string | ||
userName | string | |
tokenExpirationInMinutesFromNow | int | |
return | string |
public abstract GetAccountsForUser ( string userName ) : ICollection |
||
userName | string | Name of the user. |
return | ICollection |
public abstract GetCreateDate ( string userName ) : System.DateTime | ||
userName | string | |
return | System.DateTime |
public abstract GetLastPasswordFailureDate ( string userName ) : System.DateTime | ||
userName | string | |
return | System.DateTime |
public GetOAuthTokenSecret ( string token ) : string | ||
token | string | The token from which to retrieve secret. |
return | string |
public abstract GetPasswordChangedDate ( string userName ) : System.DateTime | ||
userName | string | |
return | System.DateTime |
public abstract GetPasswordFailuresSinceLastSuccess ( string userName ) : int | ||
userName | string | |
return | int |
public GetUserIdFromOAuth ( string provider, string providerUserId ) : System.Guid | ||
provider | string | The provider. |
providerUserId | string | The provider user id. |
return | System.Guid |
public abstract GetUserIdFromPasswordResetToken ( string token ) : System.Guid | ||
token | string | |
return | System.Guid |
public GetUserNameFromId ( System.Guid userId ) : string | ||
userId | System.Guid | The user id. |
return | string |
public HasLocalAccount ( System.Guid userId ) : bool | ||
userId | System.Guid | The user id to check for local account. |
return | bool |
public abstract IsConfirmed ( string userName ) : bool | ||
userName | string | |
return | bool |
public ReplaceOAuthRequestTokenWithAccessToken ( string requestToken, string accessToken, string accessTokenSecret ) : void | ||
requestToken | string | The request token. |
accessToken | string | The access token. |
accessTokenSecret | string | The access token secret. |
return | void |
public abstract ResetPasswordWithToken ( string token, string newPassword ) : bool | ||
token | string | |
newPassword | string | |
return | bool |
public StoreOAuthRequestToken ( string requestToken, string requestTokenSecret ) : void | ||
requestToken | string | The token. |
requestTokenSecret | string | The secret. |
return | void |