C# Class AuthBridge.Clients.AzureAdOAuthClient

Inheritance: DotNetOpenAuth.AspNet.Clients.OAuth2Client
Mostra file Open project: Teleopti/authbridge Class Usage Examples

Public Methods

Method Description
AzureAdOAuthClient ( string appId, string secretKey, string graphApiEndpoint, string tokenEndpoint, string authorizationEndpoint, string graphApiVersion ) : System

Protected Methods

Method Description
AzureAdOAuthClient ( string providerName, string appId, string appSecret, string graphApiEndpoint, string tokenEndpoint, string authorizationEndpoint, string graphApiVersion ) : System
GetServiceLoginUrl ( Uri returnUrl ) : Uri
GetUserData ( string accessToken ) : string>.IDictionary
QueryAccessToken ( Uri returnUrl, string authorizationCode ) : string

Method Details

AzureAdOAuthClient() public method

public AzureAdOAuthClient ( string appId, string secretKey, string graphApiEndpoint, string tokenEndpoint, string authorizationEndpoint, string graphApiVersion ) : System
appId string
secretKey string
graphApiEndpoint string
tokenEndpoint string
authorizationEndpoint string
graphApiVersion string
return System

AzureAdOAuthClient() protected method

protected AzureAdOAuthClient ( string providerName, string appId, string appSecret, string graphApiEndpoint, string tokenEndpoint, string authorizationEndpoint, string graphApiVersion ) : System
providerName string
appId string
appSecret string
graphApiEndpoint string
tokenEndpoint string
authorizationEndpoint string
graphApiVersion string
return System

GetServiceLoginUrl() protected method

protected GetServiceLoginUrl ( Uri returnUrl ) : Uri
returnUrl System.Uri
return System.Uri

GetUserData() protected method

protected GetUserData ( string accessToken ) : string>.IDictionary
accessToken string
return string>.IDictionary

QueryAccessToken() protected method

protected QueryAccessToken ( Uri returnUrl, string authorizationCode ) : string
returnUrl System.Uri
authorizationCode string
return string