pub struct TokenEndpointRequestContext<'a> {
pub body: &'a mut Vec<(String, String)>,
pub headers: &'a mut HeaderMap,
pub client_id: &'a str,
pub client_secret: Option<&'a str>,
pub token_endpoint: &'a str,
pub grant_type: TokenGrantType,
}Expand description
Mutable request passed to a custom token endpoint authentication strategy.
Fields§
§body: &'a mut Vec<(String, String)>Form parameters, including any repeated resource parameters.
headers: &'a mut HeaderMapHTTP headers sent to the token endpoint.
client_id: &'a strOAuth client identifier.
client_secret: Option<&'a str>Optional configured client secret.
token_endpoint: &'a strFinal token endpoint URL.
grant_type: TokenGrantTypeGrant carried by this request.
Auto Trait Implementations§
impl<'a> !UnwindSafe for TokenEndpointRequestContext<'a>
impl<'a> Freeze for TokenEndpointRequestContext<'a>
impl<'a> RefUnwindSafe for TokenEndpointRequestContext<'a>
impl<'a> Send for TokenEndpointRequestContext<'a>
impl<'a> Sync for TokenEndpointRequestContext<'a>
impl<'a> Unpin for TokenEndpointRequestContext<'a>
impl<'a> UnsafeUnpin for TokenEndpointRequestContext<'a>
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