• newSessionCapabilityObject is a function that abstracts away the details of creating and verifying a session capability object. For example, it uses the SIWE Recap object to create the capability object, but that detail is hidden from the user.

    This function serves as an abstraction and router to the underlying implementation of the ISessionCapabilityObject.

    Returns

    a ISessionCapabilityObject

    Parameters

    • att: AttenuationsObject = {}

      the attenuations you want to add to the capability object

    • prf: string[] = []

      the proofs you want to add to the capability object

    Returns ISessionCapabilityObject

Generated using TypeDoc