pub struct Discovery {
pub device_authorization_endpoint: Option<String>,
pub token_endpoint: String,
pub revocation_endpoint: Option<String>,
}Expand description
The subset of the realm’s OpenID discovery document the CLI uses.
device_authorization_endpoint and revocation_endpoint are optional
because a non-Keycloak (or ancient Keycloak) issuer may not advertise
them; the operations that need them fail with a specific message rather
than discovery failing wholesale, so tv logout still works against an
issuer with no revocation endpoint.
Fields§
§token_endpoint: String§revocation_endpoint: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Forget for Discovery
impl Freeze for Discovery
impl RefUnwindSafe for Discovery
impl Send for Discovery
impl Sync for Discovery
impl Unpin for Discovery
impl UnsafeUnpin for Discovery
impl UnwindSafe for Discovery
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