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 more