OAuthChallengeProperties Klasa

Definicja

AuthenticationProperties dla wyzwania OAuth.

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
Dziedziczenie
OAuthChallengeProperties
Pochodne

Konstruktory

OAuthChallengeProperties()

Inicjuje nowe wystąpienie klasy OAuthChallengeProperties.

OAuthChallengeProperties(IDictionary<String,String>)

Inicjuje nowe wystąpienie klasy OAuthChallengeProperties.

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

Inicjuje nowe wystąpienie klasy OAuthChallengeProperties.

Pola

ScopeKey

Klucz parametru dla argumentu "scope" używanego dla żądania wyzwania.

Właściwości

AllowRefresh

Pobiera lub ustawia, czy odświeżanie sesji uwierzytelniania powinno być dozwolone.

(Odziedziczone po AuthenticationProperties)
ExpiresUtc

Pobiera lub ustawia czas wygaśnięcia biletu uwierzytelniania.

(Odziedziczone po AuthenticationProperties)
IsPersistent

Pobiera lub ustawia, czy sesja uwierzytelniania jest utrwalana w wielu żądaniach.

(Odziedziczone po AuthenticationProperties)
IssuedUtc

Pobiera lub ustawia czas wystawienia biletu uwierzytelniania.

(Odziedziczone po AuthenticationProperties)
Items

Wartości stanu sesji uwierzytelniania.

(Odziedziczone po AuthenticationProperties)
Parameters

Kolekcja parametrów przekazywanych do procedury obsługi uwierzytelniania. Nie są one przeznaczone do serializacji ani trwałości, tylko do przepływu danych między lokacjami wywołań.

(Odziedziczone po AuthenticationProperties)
RedirectUri

Pobiera lub ustawia pełną ścieżkę lub bezwzględny identyfikator URI, który ma być używany jako wartość odpowiedzi przekierowania http.

(Odziedziczone po AuthenticationProperties)
Scope

Wartość parametru "scope" używana dla żądania wyzwania.

Metody

Clone()

Zwróć kopię.

(Odziedziczone po AuthenticationProperties)
GetBool(String)

Pobierz wartość Boolean null z kolekcji Items .

(Odziedziczone po AuthenticationProperties)
GetDateTimeOffset(String)

Pobierz wartość dopuszczaną do DateTimeOffset wartości null z kolekcji Items .

(Odziedziczone po AuthenticationProperties)
GetParameter<T>(String)

Pobierz parametr z kolekcji Parameters .

(Odziedziczone po AuthenticationProperties)
GetString(String)

Pobierz wartość ciągu z kolekcji Items .

(Odziedziczone po AuthenticationProperties)
SetBool(String, Nullable<Boolean>)

Ustaw lub usuń Boolean wartość w kolekcji Items .

(Odziedziczone po AuthenticationProperties)
SetDateTimeOffset(String, Nullable<DateTimeOffset>)

Ustawia lub usuwa DateTimeOffset wartość w kolekcji Items .

(Odziedziczone po AuthenticationProperties)
SetParameter<T>(String, T)

Ustaw wartość parametru w kolekcji Parameters .

(Odziedziczone po AuthenticationProperties)
SetScope(String[])

Ustaw wartość parametru "scope".

SetString(String, String)

Ustaw lub usuń wartość ciągu z kolekcji Items .

(Odziedziczone po AuthenticationProperties)

Metody rozszerzania

GetTokens(AuthenticationProperties)

Zwraca wszystkie AuthenticationToken wystąpienia zawarte we właściwościach.

GetTokenValue(AuthenticationProperties, String)

Zwraca wartość tokenu.

StoreTokens(AuthenticationProperties, IEnumerable<AuthenticationToken>)

Przechowuje zestaw tokenów uwierzytelniania po usunięciu starych tokenów.

UpdateTokenValue(AuthenticationProperties, String, String)

Aktualizacje wartość tokenu, jeśli już istnieje.

Dotyczy