fn parse_authn_tokenizer_element_start(
    local: StrSpan,
    mut req: AuthnRequestParser,
) -> AuthnRequestParser {
    debug!(
        "parse_authn_tokenizer_element_start: {}",
        local.to_lowercase().as_str()
    );
    if local.to_lowercase().as_str() == "issuer" {
        if req.issuer_state == 0 {
            req.issuer_state = 1;
            debug!("Found a text tag called issuer, moving to issuer-finding state machine state 1")
        } else {
            debug!(
                "Found issuer tag and not at issuer_state==0 {}",
                req.issuer_state
            );
            // TODO: throw an error?
        }
    } else {
        debug!("Found elementStart text={}", local.to_lowercase().as_str());
    }
    req
}
/// Used inside AuthnRequestParser to help parse the AuthN request
Used inside AuthnRequestParser to help parse the AuthN request
Used inside AuthnRequestParser to help parse the AuthN request
fn parse_authn_tokenizer_element_start(
    local: StrSpan,
    mut req: AuthnRequestParser,
) -> AuthnRequestParser {
    debug!(
        "parse_authn_tokenizer_element_start: {}",
        local.to_lowercase().as_str()
    );
    if local.to_lowercase().as_str() == "issuer" {
        if req.issuer_state == 0 {
            req.issuer_state = 1;
            debug!("Found a text tag called issuer, moving to issuer-finding state machine state 1")
        } else {
            debug!(
                "Found issuer tag and not at issuer_state==0 {}",
                req.issuer_state
            );
            // TODO: throw an error?
        }
    } else {
        debug!("Found elementStart text={}", local.to_lowercase().as_str());
    }
    req
}
fn parse_authn_tokenizer_element_start ( local : StrSpan , mut req : AuthnRequestParser , ) -> AuthnRequestParser { debug ! ( " " local to_lowercase ( ) as_str ( ) ) ; if local . to_lowercase ( ) . as_str ( ) == " " { if req . issuer_state == 0 { req . issuer_state = 1 ; debug ! ( " " ) } else { debug ! ( " " req issuer_state ) ; // TODO: throw an error? } } else { debug ! ( " " local to_lowercase ( ) as_str ( ) ) ; } req }
Used inside AuthnRequestParser to help parse the AuthN request
Used inside AuthnRequestParser to help parse the AuthN request
local
StrSpan
req
AuthnRequestParser
local
StrSpan
req
AuthnRequestParser