User
public protocol User : Sendable
Protocol for a User. Provides methods for token management, user information retrieval, and logout.
-
token()Asynchronous -
revoke()AsynchronousRevokes the user’s token.
Declaration
Swift
func revoke() async -
userinfo(cache:Asynchronous) -
logout()AsynchronousLogs out the user.
Declaration
Swift
func logout() async
View on GitHub