pub fn try_parse_sts_request(
query: Option<&str>,
) -> Option<Result<StsRequest, ProxyError>>Expand description
Try to parse an STS request from a form-urlencoded parameter string — a
query string, or a form-encoded POST body (the two places AWS STS accepts
parameters).
Returns None if the string does not contain Action=AssumeRoleWithWebIdentity
(i.e., this is not an STS request). Returns Some(Ok(..)) on success or
Some(Err(..)) if it is an STS request but required parameters are missing.