共用方式為


WsFederationAuthenticationOptions.UseTokenLifetime Property

 

Indicates that the authentication session lifetime (e.g. cookies) should match that of the authentication token. If the token does not provide lifetime information then normal session lifetimes will be used. This is enabled by default.

Namespace:   Microsoft.Owin.Security.WsFederation
Assembly:  Microsoft.Owin.Security.WsFederation (in Microsoft.Owin.Security.WsFederation.dll)

Syntax

public bool UseTokenLifetime { get; set; }
public:
property bool UseTokenLifetime {
    bool get();
    void set(bool value);
}
member UseTokenLifetime : bool with get, set
Public Property UseTokenLifetime As Boolean

Property Value

Type: System.Boolean

Returns Boolean.

See Also

WsFederationAuthenticationOptions Class
Microsoft.Owin.Security.WsFederation Namespace

Return to top