Table of Contents

Class OpenIdConnectAuthenticationHandler

Namespace
Steeltoe.Security.Authentication.CloudFoundry.Owin
Assembly
Steeltoe.Security.Authentication.CloudFoundryOwin.dll
public class OpenIdConnectAuthenticationHandler : AuthenticationHandler<OpenIdConnectOptions>
Inheritance
AuthenticationHandler
AuthenticationHandler<OpenIdConnectOptions>
OpenIdConnectAuthenticationHandler
Inherited Members
AuthenticationHandler<OpenIdConnectOptions>.Options
AuthenticationHandler.BaseInitializeAsync(AuthenticationOptions, IOwinContext)
AuthenticationHandler.AuthenticateAsync()
AuthenticationHandler.GenerateCorrelationId(AuthenticationProperties)
AuthenticationHandler.GenerateCorrelationId(ICookieManager, AuthenticationProperties)
AuthenticationHandler.ValidateCorrelationId(AuthenticationProperties, ILogger)
AuthenticationHandler.ValidateCorrelationId(ICookieManager, AuthenticationProperties, ILogger)
AuthenticationHandler.Context
AuthenticationHandler.Request
AuthenticationHandler.Response
AuthenticationHandler.RequestPathBase
AuthenticationHandler.Helper
AuthenticationHandler.Faulted

Constructors

OpenIdConnectAuthenticationHandler(ILogger)

public OpenIdConnectAuthenticationHandler(ILogger logger = null)

Parameters

logger ILogger

Methods

ApplyResponseChallengeAsync()

protected override Task ApplyResponseChallengeAsync()

Returns

Task

ApplyResponseCoreAsync()

protected override Task ApplyResponseCoreAsync()

Returns

Task

ApplyResponseGrantAsync()

protected override Task ApplyResponseGrantAsync()

Returns

Task

AuthenticateCoreAsync()

protected override Task<AuthenticationTicket> AuthenticateCoreAsync()

Returns

Task<AuthenticationTicket>

InitializeCoreAsync()

protected override Task InitializeCoreAsync()

Returns

Task

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

Task<bool>

A bool used to determine whether or not to continue down the OWIN pipline

TeardownCoreAsync()

protected override Task TeardownCoreAsync()

Returns

Task