[][src]Enum openidconnect::core::CoreSubjectIdentifierType

pub enum CoreSubjectIdentifierType {
    Pairwise,
    Public,
}

OpenID Connect Core Subject Identifier type.

A Subject Identifier is a locally unique and never reassigned identifier within the Issuer for the End-User, which is intended to be consumed by the Client.

See Section 8 for further information.

Variants

Pairwise

This provides a different sub value to each Client, so as not to enable Clients to correlate the End-User's activities without permission.

Public

This provides the same sub (subject) value to all Clients. It is the default if the provider has no subject_types_supported element in its discovery document.

Trait Implementations

impl SubjectIdentifierType for CoreSubjectIdentifierType[src]

impl Clone for CoreSubjectIdentifierType[src]

impl PartialEq<CoreSubjectIdentifierType> for CoreSubjectIdentifierType[src]

impl Debug for CoreSubjectIdentifierType[src]

impl Serialize for CoreSubjectIdentifierType[src]

impl<'de> Deserialize<'de> for CoreSubjectIdentifierType[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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