pub struct MintAuthorizationCodeRequest {
pub user_pool_id: String,
pub client_id: String,
pub username: String,
pub redirect_uri: String,
pub scopes: Vec<String>,
pub code_challenge: Option<String>,
pub code_challenge_method: Option<String>,
pub nonce: Option<String>,
}Expand description
Request body for the /_fakecloud/cognito/authorization-codes admin
mint endpoint. Lets test harnesses (and any caller that wants to
drive the authorization_code grant before the Y4 hosted-UI lands)
pre-allocate the same (client_id, redirect_uri, scopes, PKCE)
binding the real /oauth2/authorize endpoint will eventually
produce.
Fields§
§user_pool_id: String§client_id: String§username: String§redirect_uri: String§scopes: Vec<String>§code_challenge: Option<String>§code_challenge_method: Option<String>§nonce: Option<String>Trait Implementations§
Source§impl Clone for MintAuthorizationCodeRequest
impl Clone for MintAuthorizationCodeRequest
Source§fn clone(&self) -> MintAuthorizationCodeRequest
fn clone(&self) -> MintAuthorizationCodeRequest
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 moreSource§impl Debug for MintAuthorizationCodeRequest
impl Debug for MintAuthorizationCodeRequest
Source§impl<'de> Deserialize<'de> for MintAuthorizationCodeRequest
impl<'de> Deserialize<'de> for MintAuthorizationCodeRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MintAuthorizationCodeRequest
impl RefUnwindSafe for MintAuthorizationCodeRequest
impl Send for MintAuthorizationCodeRequest
impl Sync for MintAuthorizationCodeRequest
impl Unpin for MintAuthorizationCodeRequest
impl UnsafeUnpin for MintAuthorizationCodeRequest
impl UnwindSafe for MintAuthorizationCodeRequest
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