Enum openidconnect::core::CoreApplicationType [−][src]
pub enum CoreApplicationType {
Native,
Web,
Extension(String),
}
Expand description
OpenID Connect Core client application type.
These values are defined in Section 2 of OpenID Connect Dynamic Client Registration 1.0.
Variants
Native
Native Clients MUST only register redirect_uri
s using custom URI schemes or URLs using
the http
scheme with localhost
as the hostname. Authorization Servers MAY place
additional constraints on Native Clients.
Web
Web Clients using the OAuth Implicit Grant Type MUST only register URLs using the https
scheme as redirect_uri
s; they MUST NOT use localhost
as the hostname.
Extension(String)
Tuple Fields
0: String
An extension not defined by the OpenID Connect Dynamic Client Registration spec.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CoreApplicationType
impl Send for CoreApplicationType
impl Sync for CoreApplicationType
impl Unpin for CoreApplicationType
impl UnwindSafe for CoreApplicationType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more