Dela via


OpenIdConnectChallengeProperties Class

Definition

AuthenticationProperties for an OpenId Connect challenge.

public ref class OpenIdConnectChallengeProperties : Microsoft::AspNetCore::Authentication::OAuth::OAuthChallengeProperties
public class OpenIdConnectChallengeProperties : Microsoft.AspNetCore.Authentication.OAuth.OAuthChallengeProperties
type OpenIdConnectChallengeProperties = class
    inherit OAuthChallengeProperties
Public Class OpenIdConnectChallengeProperties
Inherits OAuthChallengeProperties
Inheritance
OpenIdConnectChallengeProperties

Constructors

OpenIdConnectChallengeProperties()

Initializes a new instance of OpenIdConnectChallengeProperties.

OpenIdConnectChallengeProperties(IDictionary<String,String>, IDictionary<String,Object>)

Initializes a new instance of OpenIdConnectChallengeProperties.

OpenIdConnectChallengeProperties(IDictionary<String,String>)

Initializes a new instance of OpenIdConnectChallengeProperties.

Fields

MaxAgeKey

The parameter key for the "max_age" argument being used for a challenge request.

PromptKey

The parameter key for the "prompt" argument being used for a challenge request.

Properties

AllowRefresh

Gets or sets if refreshing the authentication session should be allowed.

(Inherited from AuthenticationProperties)
ExpiresUtc

Gets or sets the time at which the authentication ticket expires.

(Inherited from AuthenticationProperties)
IsPersistent

Gets or sets whether the authentication session is persisted across multiple requests.

(Inherited from AuthenticationProperties)
IssuedUtc

Gets or sets the time at which the authentication ticket was issued.

(Inherited from AuthenticationProperties)
Items

State values about the authentication session.

(Inherited from AuthenticationProperties)
MaxAge

The "max_age" parameter value being used for a challenge request.

Parameters

Collection of parameters that are passed to the authentication handler. These are not intended for serialization or persistence, only for flowing data between call sites.

(Inherited from AuthenticationProperties)
Prompt

The "prompt" parameter value being used for a challenge request.

RedirectUri

Gets or sets the full path or absolute URI to be used as an http redirect response value.

(Inherited from AuthenticationProperties)
Scope

The "scope" parameter value being used for a challenge request.

(Inherited from OAuthChallengeProperties)

Methods

Clone()

Return a copy.

(Inherited from AuthenticationProperties)
GetBool(String)

Get a nullable Boolean from the Items collection.

(Inherited from AuthenticationProperties)
GetDateTimeOffset(String)

Get a nullable DateTimeOffset value from the Items collection.

(Inherited from AuthenticationProperties)
GetParameter<T>(String)

Get a parameter from the Parameters collection.

(Inherited from AuthenticationProperties)
GetString(String)

Get a string value from the Items collection.

(Inherited from AuthenticationProperties)
SetBool(String, Nullable<Boolean>)

Set or remove a Boolean value in the Items collection.

(Inherited from AuthenticationProperties)
SetDateTimeOffset(String, Nullable<DateTimeOffset>)

Sets or removes a DateTimeOffset value in the Items collection.

(Inherited from AuthenticationProperties)
SetParameter<T>(String, T)

Set a parameter value in the Parameters collection.

(Inherited from AuthenticationProperties)
SetScope(String[])

Set the "scope" parameter value.

(Inherited from OAuthChallengeProperties)
SetString(String, String)

Set or remove a string value from the Items collection.

(Inherited from AuthenticationProperties)

Extension Methods

GetTokens(AuthenticationProperties)

Returns all of the AuthenticationToken instances contained in the properties.

GetTokenValue(AuthenticationProperties, String)

Returns the value of a token.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Stores a set of authentication tokens, after removing any old tokens.

UpdateTokenValue(AuthenticationProperties, String, String)

Updates the value of a token if already present.

Applies to