Share via


IWebSsoTokenVerifier.SetComTokenCache Method (UInt32, UInt32, UInt32)

 

Used by the AD FS authentication service to set the SAML token cache parameters.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

void SetComTokenCache(
    uint tokenCacheSize,
    uint tokenCacheEntryLifetime,
    uint tokenCacheScavengePeriod
)
void SetComTokenCache(
    unsigned int tokenCacheSize,
    unsigned int tokenCacheEntryLifetime,
    unsigned int tokenCacheScavengePeriod
)
abstract SetComTokenCache : 
        tokenCacheSize:uint32 *
        tokenCacheEntryLifetime:uint32 *
        tokenCacheScavengePeriod:uint32 -> unit
Sub SetComTokenCache (
    tokenCacheSize As UInteger,
    tokenCacheEntryLifetime As UInteger,
    tokenCacheScavengePeriod As UInteger
)

Parameters

  • tokenCacheSize
    Type: System.UInt32

    The size of the token cache. The default value is 10,000 entries.

  • tokenCacheEntryLifetime
    Type: System.UInt32

    The token cache entry lifetime. The default value is 60 minutes. The minimum value is 5 minutes.

  • tokenCacheScavengePeriod
    Type: System.UInt32

    The token cache scavenge period. The default value is 15 minutes. The minimum value is 5 minutes.

See Also

IWebSsoTokenVerifier Interface
System.Web.Security.SingleSignOn Namespace

Return to top