[−][src]Struct rusoto_sso_oidc::CreateTokenRequest
Fields
client_id: String
The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.
client_secret: String
A secret string generated for the client. This value should come from the persisted result of the RegisterClient API.
code: Option<String>
The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.
device_code: String
Used only when calling this API for the device code grant type. This short-term code is used to identify this authentication attempt. This should come from an in-memory reference to the result of the StartDeviceAuthorization API.
grant_type: String
Supports grant types for authorization code, refresh token, and device code request.
redirect_uri: Option<String>
The location of the application that will receive the authorization code. Users authorize the service to send the request to this location.
refresh_token: Option<String>
The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service.
scope: Option<Vec<String>>
The list of scopes that is defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
Trait Implementations
impl Clone for CreateTokenRequest
[src]
pub fn clone(&self) -> CreateTokenRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateTokenRequest
[src]
impl Default for CreateTokenRequest
[src]
pub fn default() -> CreateTokenRequest
[src]
impl PartialEq<CreateTokenRequest> for CreateTokenRequest
[src]
pub fn eq(&self, other: &CreateTokenRequest) -> bool
[src]
pub fn ne(&self, other: &CreateTokenRequest) -> bool
[src]
impl Serialize for CreateTokenRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreateTokenRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateTokenRequest
[src]
impl Send for CreateTokenRequest
[src]
impl Sync for CreateTokenRequest
[src]
impl Unpin for CreateTokenRequest
[src]
impl UnwindSafe for CreateTokenRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,