pub trait Credentials: Clone + Send + 'static {
    // Required method
    fn token(&self) -> AsciiValue;
}
Expand description

Trait to creates tokens for ydb auth

Required Methods§

source

fn token(&self) -> AsciiValue

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Credentials for String

Implementors§

source§

impl Credentials for Cli

Available on crate feature auth-cli only.
source§

impl Credentials for ServiceAccountCredentials

Available on crate feature auth-sa only.
source§

impl Credentials for UpdatableToken