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.
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