#[repr(C)]pub struct dpiAccessToken {
pub token: *const c_char,
pub tokenLength: u32,
pub privateKey: *const c_char,
pub privateKeyLength: u32,
}Expand description
This structure is used when creating connection pools and standalone connections using token based authentication. Oracle Client libraries must be 19.14 (or later), or 21.5 (or later).
The externalAuth must be set to 1 and in addition, homogeneous must be set to 1 when creating a pool. The user (or username) and password properties should not be set.
Both token and privateKey (and their lengths) must be set while using IAM for token based authentication.
Only token and it’s length must be set while using OAuth for token based authentication.
Fields§
§token: *const c_charSpecifies the database authentication token string used for token based authentication.
tokenLength: u32Specifies the database authentication token string length used for token based authentication.
privateKey: *const c_charSpecifies the database authentication private key string used for token based authentication.
privateKeyLength: u32Specifies the database authentication private key string length used for token based authentication.
Trait Implementations§
Source§impl Clone for dpiAccessToken
impl Clone for dpiAccessToken
Source§fn clone(&self) -> dpiAccessToken
fn clone(&self) -> dpiAccessToken
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more