pub trait InternalApiKeyService {
// Required method
fn get_access_token_from_api_key_value(
&self,
request: GetAccessTokenFromApiKeyRequest,
) -> Result<GetAccessTokenResponse, Error>;
}
Expand description
This internal-only service manages long lived api keys.e
Required Methods§
Sourcefn get_access_token_from_api_key_value(
&self,
request: GetAccessTokenFromApiKeyRequest,
) -> Result<GetAccessTokenResponse, Error>
fn get_access_token_from_api_key_value( &self, request: GetAccessTokenFromApiKeyRequest, ) -> Result<GetAccessTokenResponse, Error>
Get a Nominal-issued access token from a long-lived API key. Callers should verify that their api key is formatted properly (i.e. prefixed with “nominal_api_key”) before calling this endpoint.