Struct aws_sdk_glue::types::AuthorizationCodeProperties
source · #[non_exhaustive]pub struct AuthorizationCodeProperties {
pub authorization_code: Option<String>,
pub redirect_uri: Option<String>,
}Expand description
The set of properties required for the the OAuth2 AUTHORIZATION_CODE grant type workflow.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.An authorization code to be used in the third leg of the AUTHORIZATION_CODE grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.
redirect_uri: Option<String>The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.
Implementations§
source§impl AuthorizationCodeProperties
impl AuthorizationCodeProperties
An authorization code to be used in the third leg of the AUTHORIZATION_CODE grant workflow. This is a single-use code which becomes invalid once exchanged for an access token, thus it is acceptable to have this value as a request parameter.
sourcepub fn redirect_uri(&self) -> Option<&str>
pub fn redirect_uri(&self) -> Option<&str>
The redirect URI where the user gets redirected to by authorization server when issuing an authorization code. The URI is subsequently used when the authorization code is exchanged for an access token.
source§impl AuthorizationCodeProperties
impl AuthorizationCodeProperties
sourcepub fn builder() -> AuthorizationCodePropertiesBuilder
pub fn builder() -> AuthorizationCodePropertiesBuilder
Creates a new builder-style object to manufacture AuthorizationCodeProperties.
Trait Implementations§
source§impl Clone for AuthorizationCodeProperties
impl Clone for AuthorizationCodeProperties
source§fn clone(&self) -> AuthorizationCodeProperties
fn clone(&self) -> AuthorizationCodeProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AuthorizationCodeProperties
impl Debug for AuthorizationCodeProperties
source§impl PartialEq for AuthorizationCodeProperties
impl PartialEq for AuthorizationCodeProperties
source§fn eq(&self, other: &AuthorizationCodeProperties) -> bool
fn eq(&self, other: &AuthorizationCodeProperties) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuthorizationCodeProperties
Auto Trait Implementations§
impl Freeze for AuthorizationCodeProperties
impl RefUnwindSafe for AuthorizationCodeProperties
impl Send for AuthorizationCodeProperties
impl Sync for AuthorizationCodeProperties
impl Unpin for AuthorizationCodeProperties
impl UnwindSafe for AuthorizationCodeProperties
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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