Class IAuthContext
Defined in File IAuthContext.h
Inheritance Relationships
Derived Type
public csp::systems::AuthContext
(Class AuthContext)
Class Documentation
-
class IAuthContext
Subclassed by csp::systems::AuthContext
Public Functions
-
virtual const csp::common::LoginState &GetLoginState() const = 0
Gets information about the state of authentication and information about the current session.
- Returns
-
virtual void RefreshToken(std::function<void(bool)> Callback) = 0
Refreshes the current refresh token for the authentication session.
@Paramm Callback std::function<void(bool)> : Function that is called when the token refreshes. True = success.
-
virtual ~IAuthContext() = default
-
virtual const csp::common::LoginState &GetLoginState() const = 0