pub enum OidcClientAssertionKeySource {
OidcKeySourceNomad,
OidcKeySourcePrivateKey,
OidcKeySourceClientSecret,
}
Expand description
OIDCClientAssertionKeySource specifies what key material should be used to sign an OIDCClientAssertion.
This enum was generated based on the Go types of the official Nomad API client.
Variants§
OidcKeySourceNomad
OIDCKeySourceNomad signs the OIDCClientAssertion JWT with Nomad’s internal private key. Its public key is exposed at /.well-known/jwks.json
OidcKeySourcePrivateKey
OIDCKeySourcePrivateKey signs the OIDCClientAssertion JWT with key material defined in OIDCClientAssertion.PrivateKey
OidcKeySourceClientSecret
OIDCKeySourceClientSecret signs the OIDCClientAssertion JWT with ACLAuthMethod.ClientSecret
Trait Implementations§
Source§impl Clone for OidcClientAssertionKeySource
impl Clone for OidcClientAssertionKeySource
Source§fn clone(&self) -> OidcClientAssertionKeySource
fn clone(&self) -> OidcClientAssertionKeySource
Returns a copy of the value. Read more
1.0.0 · 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 OidcClientAssertionKeySource
impl Debug for OidcClientAssertionKeySource
Source§impl<'de> Deserialize<'de> for OidcClientAssertionKeySource
impl<'de> Deserialize<'de> for OidcClientAssertionKeySource
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
Source§impl PartialEq for OidcClientAssertionKeySource
impl PartialEq for OidcClientAssertionKeySource
Source§fn eq(&self, other: &OidcClientAssertionKeySource) -> bool
fn eq(&self, other: &OidcClientAssertionKeySource) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OidcClientAssertionKeySource
Auto Trait Implementations§
impl Freeze for OidcClientAssertionKeySource
impl RefUnwindSafe for OidcClientAssertionKeySource
impl Send for OidcClientAssertionKeySource
impl Sync for OidcClientAssertionKeySource
impl Unpin for OidcClientAssertionKeySource
impl UnwindSafe for OidcClientAssertionKeySource
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