Метод | Описание | |
---|---|---|
CreateOrUpdateAccount ( string providerName, string providerUserId, string userName ) : void | ||
GetLogins ( ) : ICollection |
Get the list of available logins
|
|
GetOAuthClientData ( string providerName ) : Microsoft.Web.WebPages.OAuth.AuthenticationClientData | ||
GetOAuthClientDataDisplayName ( string providerName ) : string |
Get the OAuthClientData Display name
|
|
Login ( string providerName, string providerUserId, bool createPersistentCookie ) : bool | ||
RegisterFacebookClient ( string appId, string appSecret ) : void | ||
RegisterGoogleClient ( ) : void | ||
RegisterTwitterClient ( string consumerKey, string consumerSecret ) : void | ||
SerializeProviderUserId ( string providerName, string providerUserId ) : string | ||
TryDeserializeProviderUserId ( string data, string &providerName, string &providerUserId ) : bool | ||
TryGetOAuthClientData ( string providerName, Microsoft.Web.WebPages.OAuth.AuthenticationClientData &clientData ) : bool | ||
VerifyAuthentication ( string returnUrl ) : |
public static CreateOrUpdateAccount ( string providerName, string providerUserId, string userName ) : void | ||
providerName | string | |
providerUserId | string | |
userName | string | |
Результат | void |
public static GetLogins ( ) : ICollection |
||
Результат | ICollection |
public static GetOAuthClientData ( string providerName ) : Microsoft.Web.WebPages.OAuth.AuthenticationClientData | ||
providerName | string | |
Результат | Microsoft.Web.WebPages.OAuth.AuthenticationClientData |
public static GetOAuthClientDataDisplayName ( string providerName ) : string | ||
providerName | string | The provider name |
Результат | string |
public static Login ( string providerName, string providerUserId, bool createPersistentCookie ) : bool | ||
providerName | string | |
providerUserId | string | |
createPersistentCookie | bool | |
Результат | bool |
public static RegisterFacebookClient ( string appId, string appSecret ) : void | ||
appId | string | |
appSecret | string | |
Результат | void |
public static RegisterGoogleClient ( ) : void | ||
Результат | void |
public static RegisterTwitterClient ( string consumerKey, string consumerSecret ) : void | ||
consumerKey | string | |
consumerSecret | string | |
Результат | void |
public static SerializeProviderUserId ( string providerName, string providerUserId ) : string | ||
providerName | string | |
providerUserId | string | |
Результат | string |
public static TryDeserializeProviderUserId ( string data, string &providerName, string &providerUserId ) : bool | ||
data | string | |
providerName | string | |
providerUserId | string | |
Результат | bool |
public static TryGetOAuthClientData ( string providerName, Microsoft.Web.WebPages.OAuth.AuthenticationClientData &clientData ) : bool | ||
providerName | string | |
clientData | Microsoft.Web.WebPages.OAuth.AuthenticationClientData | |
Результат | bool |
public static VerifyAuthentication ( string returnUrl ) : |
||
returnUrl | string | |
Результат |