Method ConfigureAuthorization
ConfigureAuthorization(NoSQLConfig)
Validates and configures the authorization provider.
Declaration
public override void ConfigureAuthorization(NoSQLConfig config)
Parameters
Type | Name | Description |
---|---|---|
NoSQLConfig | config | The initial configuration. |
Overrides
Remarks
This method will be called when NoSQLClient instance
is created. You do not need to call this method.
Exceptions
Type | Condition |
---|---|
ArgumentException | If neither of the properties
Credentials, CredentialsFile and
CredentialsProvider is set or more then one of them
is set, or if Credentials are provided and either
user name or password is null or empty. |