Struct nakadion::auth::NoAuthAccessTokenProvider [−][src]
pub struct NoAuthAccessTokenProvider;
Expand description
Using this access token provider disables OAUTH.
Implementations
Initializes from the env var NAKADION_ACCESS_TOKEN_ALLOW_NONE
.
The env var must exist and must be set to true
to not make this
function fail.
Initializes from the env var <prefix>_ACCESS_TOKEN_ALLOW_NONE
.
The env var must exist and must be set to true
to not make this
function fail.
Trait Implementations
Get a new Token
. Return None
to disable authentication.
Auto Trait Implementations
impl RefUnwindSafe for NoAuthAccessTokenProvider
impl Send for NoAuthAccessTokenProvider
impl Sync for NoAuthAccessTokenProvider
impl Unpin for NoAuthAccessTokenProvider
impl UnwindSafe for NoAuthAccessTokenProvider
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more