C# Class Microsoft.IdentityModel.Clients.ActiveDirectory.OAuth2Response

Mostra file Open project: Implisit/azure-activedirectory-library-for-dotnet Class Usage Examples

Public Methods

Method Description
ParseAuthorizeResponse ( string webAuthenticationResult, Microsoft.IdentityModel.Clients.ActiveDirectory.CallState callState ) : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthorizationResult
ParseTokenResponse ( TokenResponse tokenResponse, Microsoft.IdentityModel.Clients.ActiveDirectory.CallState callState ) : AuthenticationResult
ReadErrorResponse ( WebResponse response ) : TokenResponse

Private Methods

Method Description
ParseIdToken ( string idToken ) : IdToken

Method Details

ParseAuthorizeResponse() public static method

public static ParseAuthorizeResponse ( string webAuthenticationResult, Microsoft.IdentityModel.Clients.ActiveDirectory.CallState callState ) : Microsoft.IdentityModel.Clients.ActiveDirectory.AuthorizationResult
webAuthenticationResult string
callState Microsoft.IdentityModel.Clients.ActiveDirectory.CallState
return Microsoft.IdentityModel.Clients.ActiveDirectory.AuthorizationResult

ParseTokenResponse() public static method

public static ParseTokenResponse ( TokenResponse tokenResponse, Microsoft.IdentityModel.Clients.ActiveDirectory.CallState callState ) : AuthenticationResult
tokenResponse TokenResponse
callState Microsoft.IdentityModel.Clients.ActiveDirectory.CallState
return AuthenticationResult

ReadErrorResponse() public static method

public static ReadErrorResponse ( WebResponse response ) : TokenResponse
response System.Net.WebResponse
return TokenResponse