[][src]Struct pachyderm::auth::id_provider::SamlOptions

pub struct SamlOptions {
    pub metadata_url: String,
    pub metadata_xml: Vec<u8>,
    pub group_attribute: String,
}

SAMLOptions describes a SAML-based identity provider

Fields

metadata_url: String

metadata_url is the URL of the SAML ID provider's metadata service (which Pachd can query to get more info about the SAML ID provider)

metadata_xml: Vec<u8>

metadata_xml is a direct reproduction of the ID provider's metadata. Users can set this field in the argument to SetConfig if the ID provider can't be reached from pachd (e.g. because it's on a separate network to which Pachyderm users also have access) or for testing. Exactly one of metadata_url and metadata_xml should be set in calls to SetConfig, but internally, if metadata_url is set, the result of scraping the metadata URL will be placed here in the result from GetConfig().

group_attribute: String

If this ID provider supports sending group memberships via attribute, then users can set group_attribute to the SAML attribute that indicates group mmbership, and Pachyderm will update users' group memberships when they authenticate.

Trait Implementations

impl Clone for SamlOptions[src]

impl Debug for SamlOptions[src]

impl Default for SamlOptions[src]

impl Message for SamlOptions[src]

impl PartialEq<SamlOptions> for SamlOptions[src]

impl StructuralPartialEq for SamlOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]