/// <summary> /// Initializes a new instance of the TokenStore class. /// </summary> /// <param name="enabled"><code>true</code> to durably /// store platform-specific security tokens that are obtained during /// login flows; otherwise, <code>false</code>. /// The default is <code>false</code>.</param> /// <param name="tokenRefreshExtensionHours">The number of hours after /// session token expiration that a session token can be used to /// call the token refresh API. The default is 72 hours.</param> /// <param name="fileSystem">The configuration settings of the storage /// of the tokens if a file system is used.</param> /// <param name="azureBlobStorage">The configuration settings of the /// storage of the tokens if blob storage is used.</param> public TokenStore(bool?enabled = default(bool?), double?tokenRefreshExtensionHours = default(double?), FileSystemTokenStore fileSystem = default(FileSystemTokenStore), BlobStorageTokenStore azureBlobStorage = default(BlobStorageTokenStore)) { Enabled = enabled; TokenRefreshExtensionHours = tokenRefreshExtensionHours; FileSystem = fileSystem; AzureBlobStorage = azureBlobStorage; CustomInit(); }
/// <summary> /// Initializes a new instance of the TokenStore class. /// </summary> /// <param name="id">Resource Id.</param> /// <param name="name">Resource Name.</param> /// <param name="kind">Kind of resource.</param> /// <param name="type">Resource type.</param> /// <param name="enabled"><code>true</code> to durably /// store platform-specific security tokens that are obtained during /// login flows; otherwise, <code>false</code>. /// The default is <code>false</code>.</param> /// <param name="tokenRefreshExtensionHours">The number of hours after /// session token expiration that a session token can be used to /// call the token refresh API. The default is 72 hours.</param> /// <param name="fileSystem">The configuration settings of the storage /// of the tokens if a file system is used.</param> /// <param name="azureBlobStorage">The configuration settings of the /// storage of the tokens if blob storage is used.</param> public TokenStore(string id = default(string), string name = default(string), string kind = default(string), string type = default(string), bool?enabled = default(bool?), double?tokenRefreshExtensionHours = default(double?), FileSystemTokenStore fileSystem = default(FileSystemTokenStore), BlobStorageTokenStore azureBlobStorage = default(BlobStorageTokenStore)) : base(id, name, kind, type) { Enabled = enabled; TokenRefreshExtensionHours = tokenRefreshExtensionHours; FileSystem = fileSystem; AzureBlobStorage = azureBlobStorage; CustomInit(); }