Function assertOidcInteraction

  • Asserts oidcInteraction is defined, throws the correct error in case this is not the case. The error contains the relevant error code that can be used to explain more extensively what the issue is and why an OIDC interaction is needed.

    Parameters

    • OptionaloidcInteraction: Interaction

      Interaction object to check.

    Returns asserts oidcInteraction is Interaction