pub struct LoginFlowTestDebugPayload {
pub error: Option<Box<LoginFlowTestStepError>>,
pub id_token_claims: Option<HashMap<String, Value>>,
pub jsonnet_input: Option<HashMap<String, Value>>,
pub jsonnet_mapper_url: Option<String>,
pub jsonnet_output: Option<HashMap<String, Value>>,
pub jsonnet_stderr: Option<String>,
pub schema_validation_errors: Option<Vec<LoginFlowTestSchemaValidationError>>,
pub userinfo: Option<HashMap<String, Value>>,
}Expand description
LoginFlowTestDebugPayload : Contains the parsed claims, the Jsonnet mapper input and output, and any schema validation errors. Bearer tokens (id_token, access_token, refresh_token) are intentionally excluded to limit the blast radius of the debug payload leaking through audit logs or admin browsers.
Fields§
§error: Option<Box<LoginFlowTestStepError>>§id_token_claims: Option<HashMap<String, Value>>Claims extracted from the ID token.
jsonnet_input: Option<HashMap<String, Value>>Input JSON that was fed into the Jsonnet mapper.
jsonnet_mapper_url: Option<String>URL of the Jsonnet mapper that was executed on the claims.
jsonnet_output: Option<HashMap<String, Value>>Output JSON returned by the Jsonnet mapper.
jsonnet_stderr: Option<String>Anything the Jsonnet mapper wrote to standard error.
schema_validation_errors: Option<Vec<LoginFlowTestSchemaValidationError>>Identity-schema validation errors produced from the mapped traits.
userinfo: Option<HashMap<String, Value>>Claims returned from the provider’s userinfo endpoint, if any.
Implementations§
Source§impl LoginFlowTestDebugPayload
impl LoginFlowTestDebugPayload
Sourcepub fn new() -> LoginFlowTestDebugPayload
pub fn new() -> LoginFlowTestDebugPayload
Contains the parsed claims, the Jsonnet mapper input and output, and any schema validation errors. Bearer tokens (id_token, access_token, refresh_token) are intentionally excluded to limit the blast radius of the debug payload leaking through audit logs or admin browsers.
Trait Implementations§
Source§impl Clone for LoginFlowTestDebugPayload
impl Clone for LoginFlowTestDebugPayload
Source§fn clone(&self) -> LoginFlowTestDebugPayload
fn clone(&self) -> LoginFlowTestDebugPayload
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LoginFlowTestDebugPayload
impl Debug for LoginFlowTestDebugPayload
Source§impl Default for LoginFlowTestDebugPayload
impl Default for LoginFlowTestDebugPayload
Source§fn default() -> LoginFlowTestDebugPayload
fn default() -> LoginFlowTestDebugPayload
Source§impl<'de> Deserialize<'de> for LoginFlowTestDebugPayload
impl<'de> Deserialize<'de> for LoginFlowTestDebugPayload
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>,
Source§impl PartialEq for LoginFlowTestDebugPayload
impl PartialEq for LoginFlowTestDebugPayload
Source§fn eq(&self, other: &LoginFlowTestDebugPayload) -> bool
fn eq(&self, other: &LoginFlowTestDebugPayload) -> bool
self and other values to be equal, and is used by ==.