Class AuthContext
Defined in File UserSystem.h
Inheritance Relationships
Base Type
public csp::common::IAuthContext
(Class IAuthContext)
Class Documentation
-
class AuthContext : public csp::common::IAuthContext
Public Functions
-
AuthContext(csp::services::ApiBase *AuthenticationAPI, csp::common::LoginState &LoginState)
-
virtual const csp::common::LoginState &GetLoginState() const override
Gets information about the state of authentication and information about the current session.
- Returns
-
virtual void RefreshToken(std::function<void(bool)> Callback) override
Refreshes the sessions RefreshToken.
This is currently used internally by the web client.
-
AuthContext(csp::services::ApiBase *AuthenticationAPI, csp::common::LoginState &LoginState)