SecurityTokenServiceConfiguration.DefaultTokenType 属性

定义

获取或设置令牌颁发中使用的默认令牌类型。

public:
 property System::String ^ DefaultTokenType { System::String ^ get(); void set(System::String ^ value); };
public string DefaultTokenType { get; set; }
member this.DefaultTokenType : string with get, set
Public Property DefaultTokenType As String

属性值

包含默认标记类型的字符串。

例外

指定值为 null 或为空。

指定值未在标记处理程序中定义。

注解

字符串值以 URI 格式指定;例如,对于 SAML 1.1 令牌类型,下面是字符串值: http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1

默认令牌类型设置为 SAML 1.1。

适用于