SecurityTokenServiceConfiguration.DefaultTokenType Property
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”
Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim instance As SecurityTokenServiceConfiguration Dim value As String value = instance.DefaultTokenType instance.DefaultTokenType = value
Syntax
'Declaration
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)
Eigenschaftenwert
Returns a string that contains the default token type.
Ausnahmen
Ausnahmetyp | Bedingung |
---|---|
ArgumentNullException | The provided value is null or empty. |
ArgumentException | The provided value is not defined in the token handlers. |
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
SecurityTokenServiceConfiguration Class
SecurityTokenServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace