Uses of Record Class
de.jcm.discordgamesdk.ApplicationManager.DiscordOAuth2Token
-
Uses of ApplicationManager.DiscordOAuth2Token in de.jcm.discordgamesdk
Modifier and TypeMethodDescriptionApplicationManager.AuthenticationData.token()
Returns the value of thetoken
record component.Modifier and TypeMethodDescriptionvoid
ApplicationManager.getOAuth2Token
(BiConsumer<Result, ApplicationManager.DiscordOAuth2Token> callback) Requests authorization from the user (if not obtained already) and returns the OAuth2 token in the callback.ModifierConstructorDescriptionAuthenticationData
(ApplicationManager.DiscordOAuth2Token token, ApplicationManager.Application application, DiscordUser user) Creates an instance of aAuthenticationData
record class.