pub struct OAuthTokenIssueParams {Show 16 fields
pub client: OAuthClient,
pub scopes: Vec<String>,
pub user: Option<UserView>,
pub reference_id: Option<String>,
pub session_id: Option<String>,
pub nonce: Option<String>,
pub auth_time: Option<DateTime<Utc>>,
pub resources: Option<Vec<String>>,
pub original_resources: Option<Vec<String>>,
pub refresh_token: Option<OAuthToken>,
pub requested_user_info_claims: Option<Vec<String>>,
pub access_token_claims: Option<Value>,
pub id_token_claims: Option<Value>,
pub token_response: Option<Value>,
pub confirmation: Option<Value>,
pub verification_value: Option<Value>,
/* private fields */
}Expand description
Inputs authorized by a trusted grant handler or companion endpoint. Supplying these does not repeat client authentication or scope admission.
Fields§
§client: OAuthClient§scopes: Vec<String>§user: Option<UserView>§reference_id: Option<String>§session_id: Option<String>§nonce: Option<String>§auth_time: Option<DateTime<Utc>>§resources: Option<Vec<String>>§original_resources: Option<Vec<String>>§refresh_token: Option<OAuthToken>Retained authority supplied by an already-authorized caller. Rotation atomically claims its ID; endpoint scope/client admission is not repeated.
requested_user_info_claims: Option<Vec<String>>§access_token_claims: Option<Value>§id_token_claims: Option<Value>§token_response: Option<Value>§confirmation: Option<Value>§verification_value: Option<Value>Captured authorization data, including query.dpop_jkt.
Implementations§
Source§impl OAuthTokenIssueParams
impl OAuthTokenIssueParams
pub fn new(client: OAuthClient, scopes: Vec<String>) -> Self
Trait Implementations§
Source§impl Clone for OAuthTokenIssueParams
impl Clone for OAuthTokenIssueParams
Auto Trait Implementations§
impl Freeze for OAuthTokenIssueParams
impl RefUnwindSafe for OAuthTokenIssueParams
impl Send for OAuthTokenIssueParams
impl Sync for OAuthTokenIssueParams
impl Unpin for OAuthTokenIssueParams
impl UnsafeUnpin for OAuthTokenIssueParams
impl UnwindSafe for OAuthTokenIssueParams
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more