Constructor KVStoreAuthorizationProvider
KVStoreAuthorizationProvider()
Initializes a new instance of
KVStoreAuthorizationProvider.
Declaration
public KVStoreAuthorizationProvider()
Remarks
KVStoreAuthorizationProvider(String, Char[])
Initializes a new instance of
KVStoreAuthorizationProvider with the specified user
credentials.
Declaration
public KVStoreAuthorizationProvider(string userName, char[] password)
Parameters
Type | Name | Description |
---|---|---|
String | userName | User name of the kvstore user. |
System.Char[] | password | Password of the kvstore user. |
KVStoreAuthorizationProvider(KVStoreCredentials)
Initializes a new instance of
KVStoreAuthorizationProvider with the specified user
credentials.
Declaration
public KVStoreAuthorizationProvider(KVStoreCredentials credentials)
Parameters
Type | Name | Description |
---|---|---|
KVStoreCredentials | credentials | The credentials of the kvstore user. |
KVStoreAuthorizationProvider(String)
Initializes a new instance of
KVStoreAuthorizationProvider with the specified path
to the JSON credentials file.
Declaration
public KVStoreAuthorizationProvider(string credentialsFile)
Parameters
Type | Name | Description |
---|---|---|
String | credentialsFile | The path (absolute or relative) to the JSON credentials file. |
KVStoreAuthorizationProvider(Func<CancellationToken, Task<KVStoreCredentials>>)
Initializes a new instance of
KVStoreAuthorizationProvider with the specified
credentials provider delegate.
Declaration
public KVStoreAuthorizationProvider(Func<CancellationToken, Task<KVStoreCredentials>> credentialsProvider)
Parameters
Type | Name | Description |
---|---|---|
Func<CancellationToken, Task<KVStoreCredentials>> | credentialsProvider | Credentials provider delegate. |