pub enum OidcIssuer {
GitHubActions,
Google,
GitLab,
Okta(String),
AzureAd(String),
Custom {
issuer: String,
jwks_url: String,
},
}Expand description
Known OIDC issuer. Each entry maps to a JWKS URL and a
signature algorithm. The defaults cover the issuers Confium
has been tested against; users can add their own via
[OidcVerifier::with_issuer].
Variants§
GitHubActions
GitHub Actions (https://token.actions.githubusercontent.com).
Google Workspace / Google Cloud (https://accounts.google.com).
GitLab
GitLab CI (https://gitlab.com).
Okta(String)
Okta tenant — specify the tenant URL.
AzureAd(String)
Azure AD — specify the tenant ID.
Custom
Custom issuer identified by its JWKS URL.
Implementations§
Source§impl OidcIssuer
impl OidcIssuer
Trait Implementations§
Source§impl Clone for OidcIssuer
impl Clone for OidcIssuer
Source§fn clone(&self) -> OidcIssuer
fn clone(&self) -> OidcIssuer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OidcIssuer
impl Debug for OidcIssuer
Source§impl<'de> Deserialize<'de> for OidcIssuer
impl<'de> Deserialize<'de> for OidcIssuer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OidcIssuer
impl RefUnwindSafe for OidcIssuer
impl Send for OidcIssuer
impl Sync for OidcIssuer
impl Unpin for OidcIssuer
impl UnsafeUnpin for OidcIssuer
impl UnwindSafe for OidcIssuer
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