Struct aws_sdk_glue::types::OAuth2Properties
source · #[non_exhaustive]pub struct OAuth2Properties {
pub o_auth2_grant_type: Option<OAuth2GrantType>,
pub o_auth2_client_application: Option<OAuth2ClientApplication>,
pub token_url: Option<String>,
pub token_url_parameters_map: Option<HashMap<String, String>>,
}Expand description
A structure containing properties for OAuth2 authentication.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.o_auth2_grant_type: Option<OAuth2GrantType>The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.
o_auth2_client_application: Option<OAuth2ClientApplication>The client application type. For example, AWS_MANAGED or USER_MANAGED.
token_url: Option<String>The URL of the provider's authentication server, to exchange an authorization code for an access token.
token_url_parameters_map: Option<HashMap<String, String>>A map of parameters that are added to the token GET request.
Implementations§
source§impl OAuth2Properties
impl OAuth2Properties
sourcepub fn o_auth2_grant_type(&self) -> Option<&OAuth2GrantType>
pub fn o_auth2_grant_type(&self) -> Option<&OAuth2GrantType>
The OAuth2 grant type. For example, AUTHORIZATION_CODE, JWT_BEARER, or CLIENT_CREDENTIALS.
sourcepub fn o_auth2_client_application(&self) -> Option<&OAuth2ClientApplication>
pub fn o_auth2_client_application(&self) -> Option<&OAuth2ClientApplication>
The client application type. For example, AWS_MANAGED or USER_MANAGED.
source§impl OAuth2Properties
impl OAuth2Properties
sourcepub fn builder() -> OAuth2PropertiesBuilder
pub fn builder() -> OAuth2PropertiesBuilder
Creates a new builder-style object to manufacture OAuth2Properties.
Trait Implementations§
source§impl Clone for OAuth2Properties
impl Clone for OAuth2Properties
source§fn clone(&self) -> OAuth2Properties
fn clone(&self) -> OAuth2Properties
Returns a copy of the value. Read more
1.0.0 · 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 OAuth2Properties
impl Debug for OAuth2Properties
source§impl PartialEq for OAuth2Properties
impl PartialEq for OAuth2Properties
source§fn eq(&self, other: &OAuth2Properties) -> bool
fn eq(&self, other: &OAuth2Properties) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OAuth2Properties
Auto Trait Implementations§
impl Freeze for OAuth2Properties
impl RefUnwindSafe for OAuth2Properties
impl Send for OAuth2Properties
impl Sync for OAuth2Properties
impl Unpin for OAuth2Properties
impl UnwindSafe for OAuth2Properties
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
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)
🔬This is a nightly-only experimental API. (
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>
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 moreCreates a shared type from an unshared type.