OAuthChallengeProperties OAuthChallengeProperties OAuthChallengeProperties OAuthChallengeProperties Class

Definition

public ref class OAuthChallengeProperties : Microsoft::AspNetCore::Authentication::AuthenticationProperties
public class OAuthChallengeProperties : Microsoft.AspNetCore.Authentication.AuthenticationProperties
type OAuthChallengeProperties = class
    inherit AuthenticationProperties
Public Class OAuthChallengeProperties
Inherits AuthenticationProperties
Inheritance
OAuthChallengePropertiesOAuthChallengePropertiesOAuthChallengePropertiesOAuthChallengeProperties
Derived

Constructors

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

Fields

ScopeKey ScopeKey ScopeKey ScopeKey

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

Properties

AllowRefresh AllowRefresh AllowRefresh AllowRefresh

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

(Inherited from AuthenticationProperties)
ExpiresUtc ExpiresUtc ExpiresUtc ExpiresUtc

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

(Inherited from AuthenticationProperties)
IsPersistent IsPersistent IsPersistent IsPersistent

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

(Inherited from AuthenticationProperties)
IssuedUtc IssuedUtc IssuedUtc IssuedUtc

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

(Inherited from AuthenticationProperties)
Items Items Items Items

State values about the authentication session.

(Inherited from AuthenticationProperties)
Parameters Parameters Parameters 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)
RedirectUri RedirectUri RedirectUri RedirectUri

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

(Inherited from AuthenticationProperties)
Scope Scope Scope Scope

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

Methods

GetBool(String) GetBool(String) GetBool(String) GetBool(String)

Get a bool value from the Items collection.

(Inherited from AuthenticationProperties)
GetDateTimeOffset(String) GetDateTimeOffset(String) GetDateTimeOffset(String) GetDateTimeOffset(String)

Get a DateTimeOffset value from the Items collection.

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

Get a parameter from the Parameters collection.

(Inherited from AuthenticationProperties)
GetString(String) GetString(String) GetString(String) GetString(String)

Get a string value from the Items collection.

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

Set a bool value in the Items collection.

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

Set a DateTimeOffset value in the Items collection.

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

Set a parameter value in the Parameters collection.

(Inherited from AuthenticationProperties)
SetScope(String[]) SetScope(String[]) SetScope(String[]) SetScope(String[])

Set the "scope" parameter value.

SetString(String, String) SetString(String, String) SetString(String, String) SetString(String, String)

Set a string value in the Items collection.

(Inherited from AuthenticationProperties)

Extension Methods

GetTokens(AuthenticationProperties) GetTokens(AuthenticationProperties) GetTokens(AuthenticationProperties) GetTokens(AuthenticationProperties)

Returns all of the AuthenticationTokens contained in the properties.

GetTokenValue(AuthenticationProperties, String) GetTokenValue(AuthenticationProperties, String) GetTokenValue(AuthenticationProperties, String) GetTokenValue(AuthenticationProperties, String)

Returns the value of a token.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>) StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

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

UpdateTokenValue(AuthenticationProperties, String, String) UpdateTokenValue(AuthenticationProperties, String, String) UpdateTokenValue(AuthenticationProperties, String, String) UpdateTokenValue(AuthenticationProperties, String, String)

Applies to