Class AuthorizationStringProvider
Implementation of IAuthorizationProvider that provides
the authorization string.
Implements
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public abstract class AuthorizationStringProvider : Object, IAuthorizationProvider
Remarks
Use this class only if you need to implement your own authorization
provider and the authorization needs only Authorization HTTP
header. In this case, extend this class by implementing methods
GetAuthorizationStringAsync(Request, CancellationToken) and optionally
ConfigureAuthorization(NoSQLConfig).
Constructors
Name | Description |
---|---|
AuthorizationStringProvider() |
Methods
Name | Description |
---|---|
ApplyAuthorizationAsync(Request, HttpRequestMessage, CancellationToken) | Obtains and supplies the authorization information as the required HTTP headers. |
ConfigureAuthorization(NoSQLConfig) | Default implementation of ConfigureAuthorization(NoSQLConfig) which is a no-op. |
GetAuthorizationStringAsync(Request, CancellationToken) | Gets the authorization string. |