public static Task <IOAuth1Account> AuthenticateTwitterAsync(this SocialAuthManager authManager, IOAuth1Options options, string accountId = null)
 {
     return(authManager.AuthenticateAsync <IOAuth1Account, IOAuth1Options>(SocialAuthManager.GetProviderTypeId(ProviderType.Twitter), options, accountId));
 }
 public static Task <IFacebookAccount> AuthenticateFacebookAsync(this SocialAuthManager manager, IFacebookAuthOptions options, string accountId = null)
 {
     return(manager.AuthenticateAsync <IFacebookAccount, IFacebookAuthOptions>(ProviderType.Facebook, options, accountId));
 }
示例#3
0
 public static Task <IOAuth1Account> AuthenticateOAuth1Async(this SocialAuthManager manager, string providerTypeId, IOAuth1Options options, string accountId = null)
 {
     return(manager.AuthenticateAsync <IOAuth1Account, IOAuth1Options>(providerTypeId, options, accountId));
 }
 public static Task <IGoogleAccount> AuthenticateGoogleAsync(this SocialAuthManager manager, IGoogleAuthOptions options, string accountId = null)
 {
     return(manager.AuthenticateAsync <IGoogleAccount, IGoogleAuthOptions>(ProviderType.Google, options, accountId));
 }