Class SessionData
java.lang.Object
com.jagrosh.jdautilities.oauth2.session.SessionData
Contains various data necessary for creating a
Session
using a SessionController
.- Author:
- Kaidan Gustave
-
Constructor Summary
ConstructorDescriptionSessionData
(String identifier, String accessToken, String refreshToken, String tokenType, OffsetDateTime expiration, Scope[] scopes) -
Method Summary
-
Constructor Details
-
SessionData
-
-
Method Details
-
getIdentifier
Gets the session identifier.- Returns:
- The session identifier.
-
getAccessToken
Gets the session access token.- Returns:
- The session access token.
-
getRefreshToken
Gets the session refresh token.- Returns:
- The session refresh token.
-
getTokenType
Gets the session token type.- Returns:
- The session token type.
-
getExpiration
Gets the session expiration time.- Returns:
- The session expiration time.
-
getScopes
Gets the sessionScopes
.- Returns:
- The session Scopes.
-
equals
-
toString
-