Share via


GoogleChallengeProperties Class

Definition

AuthenticationProperties for a Google OAuth challenge.

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

Constructors

GoogleChallengeProperties()

Initializes a new instance of GoogleChallengeProperties.

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

Initializes a new instance of GoogleChallengeProperties.

GoogleChallengeProperties(IDictionary<String,String>)

Initializes a new instance of GoogleChallengeProperties.

Fields

AccessTypeKey

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

ApprovalPromptKey

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

IncludeGrantedScopesKey

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

LoginHintKey

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

PromptParameterKey

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

Properties

AccessType

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

AllowRefresh

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

(Inherited from AuthenticationProperties)
ApprovalPrompt

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

ExpiresUtc

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

(Inherited from AuthenticationProperties)
IncludeGrantedScopes

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

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)
LoginHint

The "login_hint" 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