pub struct Oidc { /* private fields */ }Implementations§
Source§impl Oidc
impl Oidc
Sourcepub async fn get_open_id_configuration(
&self,
) -> Result<OidcResponse, Box<dyn Error>>
pub async fn get_open_id_configuration( &self, ) -> Result<OidcResponse, Box<dyn Error>>
Get OIDC information if OpenID Connect (OIDC) authentication is enabled. The endpoint redirects to the token issued if one is configured.
The redirect will return the following fields:
- href => The reference to the client
- cliendID => The ID of the client
§Examples
GET /v1/.well-known/openid-configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Oidc
impl !RefUnwindSafe for Oidc
impl Send for Oidc
impl Sync for Oidc
impl Unpin for Oidc
impl !UnwindSafe for Oidc
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