Propriété SecurityTokenServiceConfiguration.DefaultTokenType
Gets or sets the default token type (_defaultTokenType property) used in token issuance. The string values are specified in URI format, for example, for SAML 1.1 token type following is the string value: “http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1”
Espace de noms: Microsoft.IdentityModel.Configuration
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As SecurityTokenServiceConfiguration Dim value As String value = instance.DefaultTokenType instance.DefaultTokenType = value
Syntaxe
'Déclaration
Public Property DefaultTokenType As String
public string DefaultTokenType { get; set; }
public:
property String^ DefaultTokenType {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_DefaultTokenType ()
/** @property */
public void set_DefaultTokenType (String value)
public function get DefaultTokenType () : String
public function set DefaultTokenType (value : String)
Valeur de la propriété
Returns a string that contains the default token type.
Exceptions
Type d'exception | Condition |
---|---|
ArgumentNullException | The provided value is null or empty. |
ArgumentException | The provided value is not defined in the token handlers. |
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
Plateformes
Plateformes de développement
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Voir aussi
Référence
Classe SecurityTokenServiceConfiguration
Membres SecurityTokenServiceConfiguration
Espace de noms Microsoft.IdentityModel.Configuration