pub struct AclOidcCompleteAuthRequest {
pub auth_method_name: String,
pub client_nonce: String,
pub state: String,
pub code: String,
pub redirect_uri: String,
}
Expand description
ACLOIDCCompleteAuthRequest is the request object to begin completing the OIDC auth cycle after receiving the callback from the OIDC provider.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§auth_method_name: String
AuthMethodName is the name of the auth method being used to login via OIDC. This will match AuthUrlArgs.AuthMethodName. This is a required parameter.
client_nonce: String
ClientNonce, State, and Code are provided from the parameters given to the redirect URL. These are all required parameters.
state: String
§code: String
§redirect_uri: String
RedirectURI is the URL that authorization should redirect to. This is a required parameter.
Implementations§
Trait Implementations§
Source§impl Clone for AclOidcCompleteAuthRequest
impl Clone for AclOidcCompleteAuthRequest
Source§fn clone(&self) -> AclOidcCompleteAuthRequest
fn clone(&self) -> AclOidcCompleteAuthRequest
Returns a duplicate 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 AclOidcCompleteAuthRequest
impl Debug for AclOidcCompleteAuthRequest
Source§impl Default for AclOidcCompleteAuthRequest
impl Default for AclOidcCompleteAuthRequest
Source§fn default() -> AclOidcCompleteAuthRequest
fn default() -> AclOidcCompleteAuthRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AclOidcCompleteAuthRequest
impl<'de> Deserialize<'de> for AclOidcCompleteAuthRequest
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
impl StructuralPartialEq for AclOidcCompleteAuthRequest
Auto Trait Implementations§
impl Freeze for AclOidcCompleteAuthRequest
impl RefUnwindSafe for AclOidcCompleteAuthRequest
impl Send for AclOidcCompleteAuthRequest
impl Sync for AclOidcCompleteAuthRequest
impl Unpin for AclOidcCompleteAuthRequest
impl UnwindSafe for AclOidcCompleteAuthRequest
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