Skip to main content

classify_auth_invocation

Function classify_auth_invocation 

Source
pub fn classify_auth_invocation(
    source_host_fn: &HostFunction,
    auth_invocation: &SorobanAuthorizedInvocation,
) -> AuthStyle
Expand description

Classify an auth invocation against the transaction’s host function.

§Arguments

  • source_host_fn- The transaction’s host function
  • auth_invocation - The auth entry’s root invocation