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

Using KVStoreAuthorizationProvider when creating NoSQLClient instance.

const userName = .....;
const pwd = .....;

const client = new NoSQLClient({
endpoint: "",
auth: {
provider: new KVStoreAuthorizationProvider({
user: userName,
password: pwd
})
}
});

Hierarchy

  • KVStoreAuthorizationProvider

Implements

Constructors

Methods

  • Releases resources associated with this provider.

    See

    close

    Returns void | Promise<void>

Generated using TypeDoc