UserDelegate

class UserDelegate(oidcFlow: OidcFlow, user: User, session: Session) : User, Session

Class representing a UserDelegate.

This class is a delegate for the User and Session interfaces. It overrides the logout function to remove the cached user from the context and sign off the user.

Constructors

Link copied to clipboard
constructor(oidcFlow: OidcFlow, user: User, session: Session)

Functions

Link copied to clipboard
open suspend override fun logout()

Function to log out the user.