pub enum TokenEndpointAuth {
ClientSecretPost,
ClientSecretBasic,
None,
PrivateKeyJwt(Arc<dyn ClientAssertion>),
Custom(Arc<dyn TokenRequestHook>),
}Expand description
Authentication method used for authorization-code exchange and token refresh.
Variants§
ClientSecretPost
Send the client identifier and secret in the request body.
ClientSecretBasic
Send form-encoded credentials in the HTTP Basic authorization header.
None
Authenticate a public client with its identifier and no secret.
PrivateKeyJwt(Arc<dyn ClientAssertion>)
Obtain a signed RFC 7523 assertion for each request.
Custom(Arc<dyn TokenRequestHook>)
Apply a provider-specific authentication strategy.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TokenEndpointAuth
impl !UnwindSafe for TokenEndpointAuth
impl Freeze for TokenEndpointAuth
impl Send for TokenEndpointAuth
impl Sync for TokenEndpointAuth
impl Unpin for TokenEndpointAuth
impl UnsafeUnpin for TokenEndpointAuth
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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