Class MicrosoftAccountAuthenticationHandler2
Based on the Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationHandler but requests id tokens to get custom claims
instead of requesting user information from the Microsoft.Owin.Security.MicrosoftAccount.MicrosoftAccountAuthenticationOptions.UserInformationEndpoint
Inheritance
System.Object
MicrosoftAccountAuthenticationHandler2
Assembly: ImageVault.Web.dll
Syntax
public class MicrosoftAccountAuthenticationHandler2 : AuthenticationHandler<MicrosoftAccountAuthenticationOptions>
Constructors
MicrosoftAccountAuthenticationHandler2(HttpClient, ILogger)
Declaration
public MicrosoftAccountAuthenticationHandler2(HttpClient httpClient, ILogger logger)
Parameters
Type |
Name |
Description |
System.Net.Http.HttpClient |
httpClient |
|
Microsoft.Owin.Logging.ILogger |
logger |
|
Methods
ApplyResponseChallengeAsync()
Declaration
protected override Task ApplyResponseChallengeAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
AuthenticateCoreAsync()
Declaration
protected override Task<AuthenticationTicket> AuthenticateCoreAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<Microsoft.Owin.Security.AuthenticationTicket> |
|
InvokeAsync()
Declaration
public override Task<bool> InvokeAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
InvokeReturnPathAsync()
Declaration
public Task<bool> InvokeReturnPathAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|