Module auth

Source
Expand description

Retrieve an IAM access token to use for authentication with your IBM Watson services

§Example

let auth = IamAuthenticator::new("api_key").await?;

Structs§

IamAuthenticator
Holds the IAM Access token generated by IBM Watson

Enums§

AuthenticationError
Errors that may be returned in creating an IAM access token for a user or service ID using an API key