C# Класс SimpleAuth.Providers.GoogleApi

Наследование: OAuthApi
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CleanseClientId ( string clientId ) : string
GetUserInfo ( bool forceRefresh = false ) : Task
GoogleApi ( string identifier, string clientId, string clientSecret, HttpMessageHandler handler = null ) : System

Защищенные методы

Метод Описание
CreateAuthenticator ( ) : WebAuthenticator
GetAccountFromAuthCode ( WebAuthenticator authenticator, string identifier ) : Task

Описание методов

CleanseClientId() публичный статический Метод

public static CleanseClientId ( string clientId ) : string
clientId string
Результат string

CreateAuthenticator() защищенный Метод

protected CreateAuthenticator ( ) : WebAuthenticator
Результат WebAuthenticator

GetAccountFromAuthCode() защищенный Метод

protected GetAccountFromAuthCode ( WebAuthenticator authenticator, string identifier ) : Task
authenticator WebAuthenticator
identifier string
Результат Task

GetUserInfo() публичный Метод

public GetUserInfo ( bool forceRefresh = false ) : Task
forceRefresh bool
Результат Task

GoogleApi() публичный Метод

public GoogleApi ( string identifier, string clientId, string clientSecret, HttpMessageHandler handler = null ) : System
identifier string
clientId string
clientSecret string
handler System.Net.Http.HttpMessageHandler
Результат System