Struct openstack::auth::base::NoAuth
[−]
[src]
pub struct NoAuth { /* fields omitted */ }
Authentication method that provides no authentication (uses a fake token).
Methods
impl NoAuth
[src]
fn new<U>(endpoint: U) -> Result<NoAuth, ParseError> where U: IntoUrl
Create a new fake authentication method using a fixed endpoint.
Trait Implementations
impl Clone for NoAuth
[src]
fn clone(&self) -> NoAuth
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for NoAuth
[src]
impl AuthMethod for NoAuth
[src]
fn get_token(&self, _client: &Client) -> Result<AuthToken, ApiError>
Return a fake token for compliance with the protocol.
fn get_endpoint(&self,
_service_type: &str,
_endpoint_interface: Option<&str>,
_region: Option<&str>,
_client: &Session<NoAuth>)
-> Result<Url, ApiError>
_service_type: &str,
_endpoint_interface: Option<&str>,
_region: Option<&str>,
_client: &Session<NoAuth>)
-> Result<Url, ApiError>
Get a predefined endpoint for all service types