Skip to main content

Auth

Trait Auth 

Source
pub trait Auth: Send + Sync {
    // Required methods
    fn get_auth_header(&self) -> Result<String, ServiceError>;
    fn is_configured(&self) -> bool;
}
Expand description

Authentication trait for registry access

Required Methods§

Source

fn get_auth_header(&self) -> Result<String, ServiceError>

Get authentication header value

Source

fn is_configured(&self) -> bool

Check if authentication is configured

Implementors§