SecurityTokenValidatedContext Class

Definition

public ref class SecurityTokenValidatedContext : Microsoft::AspNetCore::Authentication::RemoteAuthenticationContext<Microsoft::AspNetCore::Authentication::WsFederation::WsFederationOptions ^>
public class SecurityTokenValidatedContext : Microsoft.AspNetCore.Authentication.RemoteAuthenticationContext<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions>
type SecurityTokenValidatedContext = class
    inherit RemoteAuthenticationContext<WsFederationOptions>
Public Class SecurityTokenValidatedContext
Inherits RemoteAuthenticationContext(Of WsFederationOptions)
Inheritance

Constructors

SecurityTokenValidatedContext(HttpContext, AuthenticationScheme, WsFederationOptions, ClaimsPrincipal, AuthenticationProperties)

Creates a SecurityTokenValidatedContext

Properties

HttpContext

The context.

(Inherited from BaseContext<TOptions>)
Options

Gets the authentication options associated with the scheme.

(Inherited from BaseContext<TOptions>)
Principal

Gets the ClaimsPrincipal containing the user claims.

(Inherited from RemoteAuthenticationContext<TOptions>)
Properties

Gets or sets the AuthenticationProperties.

(Inherited from RemoteAuthenticationContext<TOptions>)
ProtocolMessage

The WsFederationMessage received on this request.

Request

The request.

(Inherited from BaseContext<TOptions>)
Response

The response.

(Inherited from BaseContext<TOptions>)
Result

The HandleRequestResult which is used by the handler.

(Inherited from HandleRequestContext<TOptions>)
Scheme

The authentication scheme.

(Inherited from BaseContext<TOptions>)
SecurityToken

The SecurityToken that was validated.

Methods

Fail(Exception)

Indicates that authentication failed.

(Inherited from RemoteAuthenticationContext<TOptions>)
Fail(String)

Indicates that authentication failed.

(Inherited from RemoteAuthenticationContext<TOptions>)
HandleResponse()

Discontinue all processing for this request and return to the client. The caller is responsible for generating the full response.

(Inherited from HandleRequestContext<TOptions>)
SkipHandler()

Discontinue processing the request in the current handler.

(Inherited from HandleRequestContext<TOptions>)
Success()

Calls success creating a ticket with the Principal and Properties.

(Inherited from RemoteAuthenticationContext<TOptions>)

Applies to