Identity
public struct Identity: Fn
Identity
returns the instance reference associated with the current key token.
For example, the current key token created using:
Create(at: Tokens(), Obj("instance" => someRef))
or via:
Login(for: someRef, Obj("password" => "sekrit"))
will return someRef
as the result of this function.
-
Undocumented
Declaration
Swift
public struct Identity: Fn