Muokkaa

Jaa


MachineKeySessionSecurityTokenHandler Constructors

Definition

Initializes a new instance of the MachineKeySessionSecurityTokenHandler class.

Overloads

MachineKeySessionSecurityTokenHandler()

Initializes a new instance of the MachineKeySessionSecurityTokenHandler class.

MachineKeySessionSecurityTokenHandler(TimeSpan)

Initializes a new instance of the MachineKeySessionSecurityTokenHandler class that has the specified default token lifetime.

MachineKeySessionSecurityTokenHandler()

Initializes a new instance of the MachineKeySessionSecurityTokenHandler class.

public:
 MachineKeySessionSecurityTokenHandler();
public MachineKeySessionSecurityTokenHandler ();
Public Sub New ()

Applies to

MachineKeySessionSecurityTokenHandler(TimeSpan)

Initializes a new instance of the MachineKeySessionSecurityTokenHandler class that has the specified default token lifetime.

public:
 MachineKeySessionSecurityTokenHandler(TimeSpan tokenLifetime);
public MachineKeySessionSecurityTokenHandler (TimeSpan tokenLifetime);
new System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler : TimeSpan -> System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler
Public Sub New (tokenLifetime As TimeSpan)

Parameters

tokenLifetime
TimeSpan

The default lifetime for a token.

Exceptions

tokenLifetime is shorter than or equal to Zero

Applies to