Class AuthRequestEvent.OAuthRequestEvent
java.lang.Object
pro.gravit.launcher.base.events.request.AuthRequestEvent.OAuthRequestEvent
- All Implemented Interfaces:
pro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken
- Enclosing class:
AuthRequestEvent
public static class AuthRequestEvent.OAuthRequestEvent
extends Object
implements pro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOAuthRequestEvent(String accessToken, String refreshToken, long expire) OAuthRequestEvent(pro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken token) -
Method Summary
Modifier and TypeMethodDescriptionlong
-
Field Details
-
accessToken
-
refreshToken
-
expire
public final long expire
-
-
Constructor Details
-
OAuthRequestEvent
-
OAuthRequestEvent
public OAuthRequestEvent(pro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken token)
-
-
Method Details
-
getAccessToken
- Specified by:
getAccessTokenin interfacepro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken
-
getRefreshToken
- Specified by:
getRefreshTokenin interfacepro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken
-
getExpire
public long getExpire()- Specified by:
getExpirein interfacepro.gravit.launcher.core.api.features.AuthFeatureAPI.AuthToken
-