SessionSecurityTokenHandler コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| SessionSecurityTokenHandler() |
既定の Cookie 変換とトークンの有効期間を使用する SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。 |
| SessionSecurityTokenHandler(ReadOnlyCollection<CookieTransform>) |
指定した Cookie 変換を使用する SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。 |
| SessionSecurityTokenHandler(ReadOnlyCollection<CookieTransform>, TimeSpan) |
指定した Cookie 変換とトークンの有効期間を使用する SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。 |
SessionSecurityTokenHandler()
既定の Cookie 変換とトークンの有効期間を使用する SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。
public:
SessionSecurityTokenHandler();
public SessionSecurityTokenHandler();
Public Sub New ()
注釈
TokenLifetimeプロパティとTransforms プロパティは、DefaultLifetimeとDefaultCookieTransformsに初期化されます。
適用対象
SessionSecurityTokenHandler(ReadOnlyCollection<CookieTransform>)
指定した Cookie 変換を使用する SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。
public:
SessionSecurityTokenHandler(System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::CookieTransform ^> ^ transforms);
public SessionSecurityTokenHandler(System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.CookieTransform> transforms);
new System.IdentityModel.Tokens.SessionSecurityTokenHandler : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.CookieTransform> -> System.IdentityModel.Tokens.SessionSecurityTokenHandler
Public Sub New (transforms As ReadOnlyCollection(Of CookieTransform))
パラメーター
- transforms
- ReadOnlyCollection<CookieTransform>
Cookie をエンコードまたはデコードするときに適用する変換。 Transforms プロパティを設定します。
例外
transforms は nullです。
注釈
TokenLifetime プロパティは、DefaultLifetimeに初期化されます。
適用対象
SessionSecurityTokenHandler(ReadOnlyCollection<CookieTransform>, TimeSpan)
指定した Cookie 変換とトークンの有効期間を使用する SessionSecurityTokenHandler クラスの新しいインスタンスを初期化します。
public:
SessionSecurityTokenHandler(System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::CookieTransform ^> ^ transforms, TimeSpan tokenLifetime);
public SessionSecurityTokenHandler(System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.CookieTransform> transforms, TimeSpan tokenLifetime);
new System.IdentityModel.Tokens.SessionSecurityTokenHandler : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.CookieTransform> * TimeSpan -> System.IdentityModel.Tokens.SessionSecurityTokenHandler
Public Sub New (transforms As ReadOnlyCollection(Of CookieTransform), tokenLifetime As TimeSpan)
パラメーター
- transforms
- ReadOnlyCollection<CookieTransform>
Cookie をエンコードまたはデコードするときに適用する変換。 Transforms プロパティを設定します。
- tokenLifetime
- TimeSpan
トークンの既定の有効期間。 TokenLifetime プロパティを設定します。
例外
transforms は nullです。
tokenLifetime が Zero以下です。