Initializes a new instance of KVStoreAuthorizationProvider.
if the configuration is has invalid properties
Configuration to create KVStoreAuthorizationProvider specified as KVStoreAuthConfig.
Asynchronously acquires authorization information. This method is only used by the driver. You don't need to call this method. This method can only be used after onInit is called.
Promise resolved with authorization information or rejected with an error
Config object used to create NoSQLClient instance.
Static
withA convenience method to create new instance of KVStoreAuthorizationProvider with supplied user name and password.
Other applicable properties are initialized to their defaults as described in KVStoreAuthConfig.
New instance of KVStoreAuthorizationProvider using specified credentials
Static
withA convenience method to create new instance of KVStoreAuthorizationProvider with supplied credentials file path.
Other applicable properties are initialized to their defaults as described in KVStoreAuthConfig.
New instance of KVStoreAuthorizationProvider using specified credentials file
Credentials file, see credentials KVStoreCredentialsProvider
Static
withA convenience method to create new instance of KVStoreAuthorizationProvider with supplied credentials provider.
Other applicable properties are initialized to their defaults as described in KVStoreAuthConfig.
New instance of KVStoreAuthorizationProvider using specified credentials provider
Credentials provider, see KVStoreCredentialsProvider
Generated using TypeDoc
Authorization provider used to to authorize operations against secure on-premises Oracle NoSQL Database.
The driver uses this class internally for on-premises authentication. Normally, you do not need to use this class. Instead, create NoSQLClient instance by specifying kvstore property in AuthConfig as part of auth, as described in KVStoreAuthConfig.
You may use this class as an alternative to specifying kvstore, as a value for provider property when creating NoSQLClient instance. This is shown in the example.
See
Example