Struct aws_sdk_grafana::types::AssertionAttributes
source · #[non_exhaustive]pub struct AssertionAttributes {
pub name: Option<String>,
pub login: Option<String>,
pub email: Option<String>,
pub groups: Option<String>,
pub role: Option<String>,
pub org: Option<String>,
}
Expand description
A structure that defines which attributes in the IdP assertion are to be used to define information about the users authenticated by the IdP to use the workspace.
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.name: Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
login: Option<String>
The name of the attribute within the SAML assertion to use as the login names for SAML users.
email: Option<String>
The name of the attribute within the SAML assertion to use as the email names for SAML users.
groups: Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
role: Option<String>
The name of the attribute within the SAML assertion to use as the user roles.
org: Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
Implementations§
source§impl AssertionAttributes
impl AssertionAttributes
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
sourcepub fn login(&self) -> Option<&str>
pub fn login(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the login names for SAML users.
sourcepub fn email(&self) -> Option<&str>
pub fn email(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the email names for SAML users.
sourcepub fn groups(&self) -> Option<&str>
pub fn groups(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
source§impl AssertionAttributes
impl AssertionAttributes
sourcepub fn builder() -> AssertionAttributesBuilder
pub fn builder() -> AssertionAttributesBuilder
Creates a new builder-style object to manufacture AssertionAttributes
.
Trait Implementations§
source§impl Clone for AssertionAttributes
impl Clone for AssertionAttributes
source§fn clone(&self) -> AssertionAttributes
fn clone(&self) -> AssertionAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssertionAttributes
impl Debug for AssertionAttributes
source§impl PartialEq for AssertionAttributes
impl PartialEq for AssertionAttributes
source§fn eq(&self, other: &AssertionAttributes) -> bool
fn eq(&self, other: &AssertionAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.