C# Class Microsoft.Identity.Client.Requests.BaseRequest

Datei anzeigen Open project: AzureAD/microsoft-authentication-library-for-dotnet

Protected Properties

Property Type Description
CompletedTask System.Threading.Tasks.Task
restrictToSingleUser bool

Private Properties

Property Type Description
AddPolicyParameter string
LogReturnedToken void
MapIdentifierToUser User
NotifyAfterAccessCache void
NotifyBeforeAccessCache void
PreRunAsync System.Threading.Tasks.Task
PreTokenRequest System.Threading.Tasks.Task
RefreshAccessTokenAsync Task
SendHttpMessageAsync Task
SendTokenRequestByRefreshTokenAsync Task

Public Methods

Method Description
CreateCallState ( System.Guid correlationId ) : CallState
RunAsync ( ) : Task

Protected Methods

Method Description
AddAditionalRequestParameters ( DictionaryRequestParameters requestParameters ) : void
BaseRequest ( AuthenticationRequestParameters authenticationRequestParameters ) : System
BrokerInvocationRequired ( ) : bool
GetDecoratedScope ( HashSet inputScope ) : HashSet
PostRunAsync ( AuthenticationResult result ) : System.Threading.Tasks.Task
PostTokenRequest ( AuthenticationResultEx result ) : void
SendTokenRequestAsync ( ) : Task
ValidateResult ( ) : void
ValidateScopeInput ( HashSet scopesToValidate ) : void

Private Methods

Method Description
AddPolicyParameter ( string endpoint ) : string
LogReturnedToken ( AuthenticationResult result ) : void
MapIdentifierToUser ( string identifier ) : User
NotifyAfterAccessCache ( ) : void
NotifyBeforeAccessCache ( ) : void
PreRunAsync ( ) : System.Threading.Tasks.Task
PreTokenRequest ( ) : System.Threading.Tasks.Task
RefreshAccessTokenAsync ( AuthenticationResultEx result ) : Task
SendHttpMessageAsync ( IRequestParameters requestParameters ) : Task
SendTokenRequestByRefreshTokenAsync ( string refreshToken ) : Task

Method Details

AddAditionalRequestParameters() protected abstract method

protected abstract AddAditionalRequestParameters ( DictionaryRequestParameters requestParameters ) : void
requestParameters DictionaryRequestParameters
return void

BaseRequest() protected method

protected BaseRequest ( AuthenticationRequestParameters authenticationRequestParameters ) : System
authenticationRequestParameters Microsoft.Identity.Client.Internal.AuthenticationRequestParameters
return System

BrokerInvocationRequired() protected method

protected BrokerInvocationRequired ( ) : bool
return bool

CreateCallState() public static method

public static CreateCallState ( System.Guid correlationId ) : CallState
correlationId System.Guid
return CallState

GetDecoratedScope() protected method

protected GetDecoratedScope ( HashSet inputScope ) : HashSet
inputScope HashSet
return HashSet

PostRunAsync() protected method

protected PostRunAsync ( AuthenticationResult result ) : System.Threading.Tasks.Task
result AuthenticationResult
return System.Threading.Tasks.Task

PostTokenRequest() protected method

protected PostTokenRequest ( AuthenticationResultEx result ) : void
result Microsoft.Identity.Client.Internal.AuthenticationResultEx
return void

RunAsync() public method

public RunAsync ( ) : Task
return Task

SendTokenRequestAsync() protected method

protected SendTokenRequestAsync ( ) : Task
return Task

ValidateResult() protected method

protected ValidateResult ( ) : void
return void

ValidateScopeInput() protected method

protected ValidateScopeInput ( HashSet scopesToValidate ) : void
scopesToValidate HashSet
return void

Property Details

CompletedTask protected_oe static_oe property

protected static Task,System.Threading.Tasks CompletedTask
return System.Threading.Tasks.Task

restrictToSingleUser protected_oe property

protected bool restrictToSingleUser
return bool