Trait Provider

Source
pub trait Provider:
    Send
    + Sync
    + Sized {
    // Required methods
    fn authorization_endpoint(&self) -> Url;
    fn token_endpoint(&self) -> Url;
    fn validate_iss(&self, iss: &str) -> bool;

    // Provided method
    fn client(self) -> ClientBuilder<Self> { ... }
}
Expand description

OpenID Connect ID provider issuer

Required Methods§

Provided Methods§

Source

fn client(self) -> ClientBuilder<Self>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§