UserNameSecurityTokenHandler.RetainPassword Proprietà

Definizione

Ottiene o imposta un valore che specifica se la password verrà mantenuta nel token bootstrap associato all'oggetto ClaimsIdentity restituito dal ValidateToken(SecurityToken) metodo .

public:
 virtual property bool RetainPassword { bool get(); void set(bool value); };
public virtual bool RetainPassword { get; set; }
member this.RetainPassword : bool with get, set
Public Overridable Property RetainPassword As Boolean

Valore della proprietà

true se la password deve essere mantenuta nel token bootstrap; in caso contrario, false. Il valore predefinito è false.

Si applica a