ClaimsIdentity.BootstrapContext Proprietà

Definizione

Ottiene o imposta il token utilizzato per creare questa identità basata sulle attestazioni.

public:
 property System::Object ^ BootstrapContext { System::Object ^ get(); void set(System::Object ^ value); };
public object BootstrapContext { get; [System.Security.SecurityCritical] set; }
public object? BootstrapContext { get; set; }
public object BootstrapContext { get; set; }
[<set: System.Security.SecurityCritical>]
member this.BootstrapContext : obj with get, set
member this.BootstrapContext : obj with get, set
Public Property BootstrapContext As Object

Valore della proprietà

Object

Il contesto del bootstrap.

Attributi

Commenti

L'oggetto sottostante è un'istanza della System.IdentityModel.Tokens.BootstrapContext classe.

Impostare l'attributo sull'identitàConfiguration< o sull'elemento securityTokenHandlerConfiguration> >in un file di configurazione per specificare se il token usato per generare l'oggetto deve essere mantenuto nella proprietà.< ClaimsIdentity BootstrapContext saveBootstrapContext

Se la BootstrapContext proprietà non nullè , le applicazioni possono accedere al token originale e alle attestazioni generate tramite le proprietà e i metodi della System.IdentityModel.Tokens.BootstrapContext classe.

Si applica a

Vedi anche