다음을 통해 공유


SecurityTokenServiceConfiguration 클래스

Defines the configuration specific to a security token service (STS).

네임스페이스: Microsoft.IdentityModel.Configuration
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim instance As SecurityTokenServiceConfiguration

구문

‘선언
Public Class SecurityTokenServiceConfiguration
    Inherits ServiceConfiguration
public class SecurityTokenServiceConfiguration : ServiceConfiguration
public ref class SecurityTokenServiceConfiguration : public ServiceConfiguration
public class SecurityTokenServiceConfiguration extends ServiceConfiguration
public class SecurityTokenServiceConfiguration extends ServiceConfiguration

설명

Security token service configuration class derives from Service Configuration class, which is the base class that contains several properties such as Issuer Name, which is the name of the STS, Signing Credentials, that is the certificate used for signing the token before delivering it to relying party applications.

Security token service configuration defines the following settings that pertain to a security token service:

_defaultTokenLifetime
Type: TimeSpan Description: Defines the token life time. Default value is 10 hours.

_maximumTokenLifetime
Type: TimeSpan Description: Defines the maximum life time of a token issued by the STS. Default is 1 day.

_defaultTokenType
Type: string Description: Defines the type of tokens issued by the STS. WIF has built-in support for SAML 1.1 and SAML 2 tokens. Default token type is set to SAML 1.1.

_defaultSymmetricKeySizeInBits
Type: int Description: Defines the default symmetric key size, in bits. Default value is 256.

_defaultMaxSymmetricKeySizeInBits
Type: int Description: Defines the default maximum symmetric key size, in bits. Default value is 1024.

_endpoints
Type: Collection<ServiceHostEndpointConfiguration> Description: Collection of service host endpoints.

_securityTokenServiceType
Type: Type Description: Defines the type of service, this property must be set to the type of Security Token Service. Or else an ThrowHelperArgument exception is thrown with a message that type of Security Token Service is expected.

_tokenElementRequirement
Type: SecurityTokenRequirement Description: Defines the current token requirements.

_tokenElementHandlers Type: SecurityTokenHandlerCollection Description: Defines the collection of security token handlers.

_tokenElementSerializer
Type: SecurityTokenSerializer Description: Defines the security token serializer that can read and write key identifiers, key identifier clauses, and security tokens.

_tokenElementResolver
Type: SecurityTokenResolver Description: Defines the security token resolver, which is a utility class that can retrieve security tokens or keys when you have a key identifier.

_wsTrust13RequestSerializer
Type: WSTrust13RequestSerializer Description: Defines the WS-Trust 1.3 Request (RST) Serializer.

_wsTrust13ResponseSerializer
Type: WSTrust13ResponseSerializer Description: Defines the WS-Trust 1.3 Response (RSTR) Serializer.

_wsTrustFeb2005RequestSerializer
Type: WSTrustFeb2005RequestSerializer Description: Instance of the early version of WS-Trust protocol request serializer (WS-Trust Feb 2005).

_wsTrustFeb2005ResponseSerializer
Type: WSTrustFeb2005ResponseSerializer Description: Instance of the early version WS-Trust protocol response serializer.

상속 계층 구조

System.Object
   Microsoft.IdentityModel.Configuration.ServiceConfiguration
    Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

참고 항목

참조

SecurityTokenServiceConfiguration 멤버
Microsoft.IdentityModel.Configuration 네임스페이스