Function isAuthorizedEvent

  • Type Parameters

    • P

    Parameters

    • event: any
    • Optional isTokenPayload: ((payload: any) => payload is P)
        • (payload: any): payload is P
        • Parameters

          • payload: any

          Returns payload is P

    Returns event is IAuthorizedEvent<P>