Function validateStoredUserState

  • Validate stored user state exists and is valid

    Parameters

    • userState: unknown

      userState returned by oidcClient.processSigninResponse

    Returns asserts userState is UserState

    when userState is invalid