pub struct OpenIdProvider {
pub open_id_config: OpenIdConfig,
pub auth_endpoint: Url,
pub token_endpoint: Url,
pub end_session_endpoint: Option<Url>,
pub issuer: String,
pub public_keys: Vec<SigningKey>,
}Expand description
The OpenIdProvider struct holds all information about the Open ID Provider that is needed for the plugin to work. This includes the Open ID Configuration, the URLs of the endpoints and the public keys that are used for the validation of the ID Token.
Fields§
§open_id_config: OpenIdConfig§auth_endpoint: UrlThe URL of the authorization endpoint
token_endpoint: UrlThe URL of the token endpoint
end_session_endpoint: Option<Url>The URL of the end session endpoint
issuer: StringThe issuer that will be used for the token request
public_keys: Vec<SigningKey>The public keys that will be used for the validation of the ID Token
Trait Implementations§
Source§impl Clone for OpenIdProvider
impl Clone for OpenIdProvider
Source§fn clone(&self) -> OpenIdProvider
fn clone(&self) -> OpenIdProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OpenIdProvider
impl RefUnwindSafe for OpenIdProvider
impl Send for OpenIdProvider
impl Sync for OpenIdProvider
impl Unpin for OpenIdProvider
impl UnsafeUnpin for OpenIdProvider
impl UnwindSafe for OpenIdProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more