pub struct AuthorizationServer {
pub issuer: String,
pub par_endpoint: String,
pub authorization_endpoint: String,
pub token_endpoint: String,
pub revocation_endpoint: Option<String>,
}Expand description
The endpoints a validated authorization server offers.
Fields§
§issuer: String§par_endpoint: String§token_endpoint: String§revocation_endpoint: Option<String>RFC 7009 revocation. Optional — RFC 8414 does not require it, and a server without one simply cannot be told about a sign-out. Absent rather than an error, because refusing to log a user in over a missing LOGOUT endpoint would be the wrong trade.
Trait Implementations§
Source§impl Clone for AuthorizationServer
impl Clone for AuthorizationServer
Source§impl Debug for AuthorizationServer
impl Debug for AuthorizationServer
impl Eq for AuthorizationServer
Source§impl PartialEq for AuthorizationServer
impl PartialEq for AuthorizationServer
impl StructuralPartialEq for AuthorizationServer
Auto Trait Implementations§
impl Freeze for AuthorizationServer
impl RefUnwindSafe for AuthorizationServer
impl Send for AuthorizationServer
impl Sync for AuthorizationServer
impl Unpin for AuthorizationServer
impl UnsafeUnpin for AuthorizationServer
impl UnwindSafe for AuthorizationServer
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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 more