Class OpenIdConnectAuthenticationHandler
- Namespace
- Steeltoe.Security.Authentication.CloudFoundry.Owin
- Assembly
- Steeltoe.Security.Authentication.CloudFoundryOwin.dll
public class OpenIdConnectAuthenticationHandler : AuthenticationHandler<OpenIdConnectOptions>
- Inheritance
-
AuthenticationHandlerAuthenticationHandler<OpenIdConnectOptions>OpenIdConnectAuthenticationHandler
- Inherited Members
-
AuthenticationHandler<OpenIdConnectOptions>.OptionsAuthenticationHandler.BaseInitializeAsync(AuthenticationOptions, IOwinContext)AuthenticationHandler.AuthenticateAsync()AuthenticationHandler.GenerateCorrelationId(AuthenticationProperties)AuthenticationHandler.GenerateCorrelationId(ICookieManager, AuthenticationProperties)AuthenticationHandler.ValidateCorrelationId(AuthenticationProperties, ILogger)AuthenticationHandler.ValidateCorrelationId(ICookieManager, AuthenticationProperties, ILogger)AuthenticationHandler.ContextAuthenticationHandler.RequestAuthenticationHandler.ResponseAuthenticationHandler.RequestPathBaseAuthenticationHandler.HelperAuthenticationHandler.Faulted
Constructors
OpenIdConnectAuthenticationHandler(ILogger)
public OpenIdConnectAuthenticationHandler(ILogger logger = null)
Parameters
loggerILogger
Methods
ApplyResponseChallengeAsync()
protected override Task ApplyResponseChallengeAsync()
Returns
ApplyResponseCoreAsync()
protected override Task ApplyResponseCoreAsync()
Returns
ApplyResponseGrantAsync()
protected override Task ApplyResponseGrantAsync()
Returns
AuthenticateCoreAsync()
protected override Task<AuthenticationTicket> AuthenticateCoreAsync()
Returns
- Task<AuthenticationTicket>
InitializeCoreAsync()
protected override Task InitializeCoreAsync()
Returns
InvokeAsync()
Invoked for every request.As this is passive middleware, we only want to branch off the authentication flow if the request being invoked is the callback path we gave as a redirect uri to the auth flow when invoking the IDP
public override Task<bool> InvokeAsync()
Returns
TeardownCoreAsync()
protected override Task TeardownCoreAsync()