Skip navigation links
A B C D E F G H I J L M O P R S T U V W X 

A

access_token - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsTokenResponse
 
AuthenticationService - Class in com.github.steveice10.mc.auth.service
Service used for authenticating users.
AuthenticationService(URI) - Constructor for class com.github.steveice10.mc.auth.service.AuthenticationService
 
AuthPendingException - Exception in com.github.steveice10.mc.auth.exception.request
Thrown when authorisation for a msa oauth code is still pending
AuthPendingException() - Constructor for exception com.github.steveice10.mc.auth.exception.request.AuthPendingException
 
AuthPendingException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.request.AuthPendingException
 
AuthPendingException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.AuthPendingException
 
AuthPendingException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.AuthPendingException
 

B

Base64 - Class in com.github.steveice10.mc.auth.util
Methods for encoding and decoding base64 data.

C

canMigrate() - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
Checks if the current profile is eligible to migrate to a Microsoft account.
com.github.steveice10.mc.auth.data - package com.github.steveice10.mc.auth.data
 
com.github.steveice10.mc.auth.exception.profile - package com.github.steveice10.mc.auth.exception.profile
 
com.github.steveice10.mc.auth.exception.property - package com.github.steveice10.mc.auth.exception.property
 
com.github.steveice10.mc.auth.exception.request - package com.github.steveice10.mc.auth.exception.request
 
com.github.steveice10.mc.auth.service - package com.github.steveice10.mc.auth.service
 
com.github.steveice10.mc.auth.util - package com.github.steveice10.mc.auth.util
 
createUrlConnection(Proxy, URI) - Static method in class com.github.steveice10.mc.auth.util.HTTP
 

D

decode(byte[]) - Static method in class com.github.steveice10.mc.auth.util.Base64
Decodes a byte array from base64.
device_code - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 

E

encode(byte[]) - Static method in class com.github.steveice10.mc.auth.util.Base64
Encodes a byte array to base64.
equals(Object) - Method in class com.github.steveice10.mc.auth.data.GameProfile
 
expires_in - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 
expires_in - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsTokenResponse
 

F

fillProfileProperties(GameProfile) - Method in class com.github.steveice10.mc.auth.service.SessionService
Fills in the properties of a profile.
findProfilesByName(String[], ProfileService.ProfileLookupCallback) - Method in class com.github.steveice10.mc.auth.service.ProfileService
Locates profiles by their names.
findProfilesByName(String[], ProfileService.ProfileLookupCallback, boolean) - Method in class com.github.steveice10.mc.auth.service.ProfileService
Locates profiles by their names.
formMapToString(Map<String, String>) - Static method in class com.github.steveice10.mc.auth.util.HTTP
 
fromString(String) - Static method in class com.github.steveice10.mc.auth.util.UUIDSerializer
Converts a String to a UUID.
fromUUID(UUID) - Static method in class com.github.steveice10.mc.auth.util.UUIDSerializer
Converts a UUID to a String.

G

GameProfile - Class in com.github.steveice10.mc.auth.data
Information about a user profile.
GameProfile(String, String) - Constructor for class com.github.steveice10.mc.auth.data.GameProfile
Creates a new GameProfile instance.
GameProfile(UUID, String) - Constructor for class com.github.steveice10.mc.auth.data.GameProfile
Creates a new GameProfile instance.
GameProfile.Property - Class in com.github.steveice10.mc.auth.data
A property belonging to a profile.
GameProfile.Texture - Class in com.github.steveice10.mc.auth.data
A texture contained within a profile.
GameProfile.TextureModel - Enum in com.github.steveice10.mc.auth.data
The model used for a profile texture.
GameProfile.TextureType - Enum in com.github.steveice10.mc.auth.data
The type of a profile texture.
getAccessToken() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets the access token of the service.
getAuthCode() - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
Generate a single use code for Microsoft authentication
getAuthCode(boolean) - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
Generate a single use code for Microsoft authentication
getAvailableProfiles() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets the available profiles of the user logged in with the service.
getBaseUri() - Method in class com.github.steveice10.mc.auth.service.Service
Gets the base URI of this service.
getClientToken() - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
 
getEndpointUri(String) - Method in class com.github.steveice10.mc.auth.service.Service
Gets the URI of a specific endpoint of this service.
getEndpointUri(String, Map<String, String>) - Method in class com.github.steveice10.mc.auth.service.Service
Gets the URI of a specific endpoint of this service.
getHash() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Texture
Gets the hash of the texture.
getId() - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets the ID of the profile.
getId() - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
Gets the ID of the user logged in with the service.
getIdAsString() - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets the ID of the profile as a String.
getMetadata(String) - Method in class com.github.steveice10.mc.auth.data.GameProfile.Texture
Gets a metadata string from the texture.
getModel() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Texture
Gets the model of the texture.
getName() - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets the name of the profile.
getName() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Property
Gets the name of the property.
getPassword() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets the password of the service.
getProfileByServer(String, String) - Method in class com.github.steveice10.mc.auth.service.SessionService
Gets the profile of the given user if they are currently logged in to the given server.
getProperties() - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets an immutable list of properties contained in the profile.
getProperties() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets the properties of the user logged in with the service.
getProperty(String) - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets a property contained in the profile.
getProxy() - Method in class com.github.steveice10.mc.auth.service.Service
Gets the proxy used by this service.
getRefreshToken() - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
Gets the current refresh token for this session
getSelectedProfile() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets the selected profile of the user logged in with the service.
getServerId(String, PublicKey, SecretKey) - Method in class com.github.steveice10.mc.auth.service.SessionService
Calculates the server ID from a base string, public key, and secret key.
getSignature() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Property
Gets the signature used to verify the property.
getTexture(GameProfile.TextureType) - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets a texture contained in the profile.
getTexture(GameProfile.TextureType, boolean) - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets a texture contained in the profile.
getTextures() - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets an immutable map of texture types to textures contained in the profile.
getTextures(boolean) - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets an immutable map of texture types to textures contained in the profile.
getURL() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Texture
Gets the URL of the texture.
getUsername() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets the username of the service.
getValue() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Property
Gets the value of the property.

H

hashCode() - Method in class com.github.steveice10.mc.auth.data.GameProfile
 
hasSignature() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Property
Gets whether this property has a signature to verify it.
HTTP - Class in com.github.steveice10.mc.auth.util
Utilities for making HTTP requests.

I

interval - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 
InvalidCredentialsException - Exception in com.github.steveice10.mc.auth.exception.request
Thrown when invalid credentials are provided.
InvalidCredentialsException() - Constructor for exception com.github.steveice10.mc.auth.exception.request.InvalidCredentialsException
 
InvalidCredentialsException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.request.InvalidCredentialsException
 
InvalidCredentialsException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.InvalidCredentialsException
 
InvalidCredentialsException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.InvalidCredentialsException
 
isComplete() - Method in class com.github.steveice10.mc.auth.data.GameProfile
Gets whether the profile is complete.
isLoggedIn() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Gets whether the service has been used to log in.
isSignatureValid(PublicKey) - Method in class com.github.steveice10.mc.auth.data.GameProfile.Property
Gets whether this property's signature is valid.

J

joinServer(GameProfile, String, String) - Method in class com.github.steveice10.mc.auth.service.SessionService
Joins a server.

L

login() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Logs the service in.
login() - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
 
login() - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
 
logout() - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Logs the service out.
logout() - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
 
logout() - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
 

M

makeRequest(Proxy, URI, Object) - Static method in class com.github.steveice10.mc.auth.util.HTTP
Makes an HTTP request.
makeRequest(Proxy, URI, Object, Class<T>, Map<String, String>) - Static method in class com.github.steveice10.mc.auth.util.HTTP
Makes an HTTP request.
makeRequest(Proxy, URI, Object, Class<T>) - Static method in class com.github.steveice10.mc.auth.util.HTTP
 
makeRequestForm(Proxy, URI, Map<String, String>, Class<T>) - Static method in class com.github.steveice10.mc.auth.util.HTTP
Makes an HTTP request as a from.
message - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 
MojangAuthenticationService - Class in com.github.steveice10.mc.auth.service
 
MojangAuthenticationService() - Constructor for class com.github.steveice10.mc.auth.service.MojangAuthenticationService
Creates a new AuthenticationService instance.
MojangAuthenticationService(String) - Constructor for class com.github.steveice10.mc.auth.service.MojangAuthenticationService
Creates a new AuthenticationService instance.
MsaAuthenticationService - Class in com.github.steveice10.mc.auth.service
 
MsaAuthenticationService(String) - Constructor for class com.github.steveice10.mc.auth.service.MsaAuthenticationService
 
MsaAuthenticationService(String, String) - Constructor for class com.github.steveice10.mc.auth.service.MsaAuthenticationService
 
MsaAuthenticationService.MsCodeResponse - Class in com.github.steveice10.mc.auth.service
 
MsaAuthenticationService.MsTokenResponse - Class in com.github.steveice10.mc.auth.service
 
MsCodeResponse() - Constructor for class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 
MsTokenResponse() - Constructor for class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsTokenResponse
 

O

onProfileLookupFailed(GameProfile, Exception) - Method in interface com.github.steveice10.mc.auth.service.ProfileService.ProfileLookupCallback
Called when a profile lookup request fails.
onProfileLookupSucceeded(GameProfile) - Method in interface com.github.steveice10.mc.auth.service.ProfileService.ProfileLookupCallback
Called when a profile lookup request succeeds.

P

ProfileException - Exception in com.github.steveice10.mc.auth.exception.profile
Thrown when a profile-related error occurs.
ProfileException() - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileException
 
ProfileException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileException
 
ProfileException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileException
 
ProfileException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileException
 
ProfileLookupException - Exception in com.github.steveice10.mc.auth.exception.profile
Thrown when an error occurs while looking up a profile.
ProfileLookupException() - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileLookupException
 
ProfileLookupException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileLookupException
 
ProfileLookupException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileLookupException
 
ProfileLookupException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileLookupException
 
ProfileNotFoundException - Exception in com.github.steveice10.mc.auth.exception.profile
Thrown when a profile cannot be found.
ProfileNotFoundException() - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileNotFoundException
 
ProfileNotFoundException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileNotFoundException
 
ProfileNotFoundException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileNotFoundException
 
ProfileNotFoundException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.profile.ProfileNotFoundException
 
ProfileService - Class in com.github.steveice10.mc.auth.service
Repository for looking up profiles by name.
ProfileService() - Constructor for class com.github.steveice10.mc.auth.service.ProfileService
Creates a new ProfileService instance.
ProfileService.ProfileLookupCallback - Interface in com.github.steveice10.mc.auth.service
Callback for reporting profile lookup results.
ProfileTextureException - Exception in com.github.steveice10.mc.auth.exception.property
Thrown when an error occurs while retrieving a profile texture.
ProfileTextureException() - Constructor for exception com.github.steveice10.mc.auth.exception.property.ProfileTextureException
 
ProfileTextureException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.property.ProfileTextureException
 
ProfileTextureException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.property.ProfileTextureException
 
ProfileTextureException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.property.ProfileTextureException
 
Property(String, String) - Constructor for class com.github.steveice10.mc.auth.data.GameProfile.Property
Creates a new Property instance.
Property(String, String, String) - Constructor for class com.github.steveice10.mc.auth.data.GameProfile.Property
Creates a new Property instance.
PropertyException - Exception in com.github.steveice10.mc.auth.exception.property
Thrown when a property-related error occurs.
PropertyException() - Constructor for exception com.github.steveice10.mc.auth.exception.property.PropertyException
 
PropertyException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.property.PropertyException
 
PropertyException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.property.PropertyException
 
PropertyException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.property.PropertyException
 

R

read(JsonReader) - Method in class com.github.steveice10.mc.auth.util.UUIDSerializer
 
refresh_token - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsTokenResponse
 
refreshToken() - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
Refreshes the access token and refresh token for further use
RequestException - Exception in com.github.steveice10.mc.auth.exception.request
Thrown when an error occurs while making an HTTP request.
RequestException() - Constructor for exception com.github.steveice10.mc.auth.exception.request.RequestException
 
RequestException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.request.RequestException
 
RequestException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.RequestException
 
RequestException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.RequestException
 

S

scope - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsTokenResponse
 
selectGameProfile(GameProfile) - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
Selects a game profile.
Service - Class in com.github.steveice10.mc.auth.service
Base class for auth-related services.
Service(URI) - Constructor for class com.github.steveice10.mc.auth.service.Service
 
ServiceUnavailableException - Exception in com.github.steveice10.mc.auth.exception.request
Thrown when a service is unavailable.
ServiceUnavailableException() - Constructor for exception com.github.steveice10.mc.auth.exception.request.ServiceUnavailableException
 
ServiceUnavailableException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.request.ServiceUnavailableException
 
ServiceUnavailableException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.ServiceUnavailableException
 
ServiceUnavailableException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.ServiceUnavailableException
 
SessionService - Class in com.github.steveice10.mc.auth.service
Service used for session-related queries.
SessionService() - Constructor for class com.github.steveice10.mc.auth.service.SessionService
Creates a new SessionService instance.
setAccessToken(String) - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Sets the access token of the service.
setBaseUri(String) - Method in class com.github.steveice10.mc.auth.service.Service
Sets the base URI of this service.
setBaseUri(URI) - Method in class com.github.steveice10.mc.auth.service.Service
Sets the base URI of this service.
setPassword(String) - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Sets the password of the service.
setProperties(List<GameProfile.Property>) - Method in class com.github.steveice10.mc.auth.data.GameProfile
Sets the properties of this profile.
setProxy(Proxy) - Method in class com.github.steveice10.mc.auth.service.Service
Sets the proxy used by this service.
setRefreshToken(String) - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
Sets a new refresh token.
setUsername(String) - Method in class com.github.steveice10.mc.auth.service.AuthenticationService
Sets the username of the service.
SignatureValidateException - Exception in com.github.steveice10.mc.auth.exception.property
Thrown when an error occurs while validating a signature.
SignatureValidateException() - Constructor for exception com.github.steveice10.mc.auth.exception.property.SignatureValidateException
 
SignatureValidateException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.property.SignatureValidateException
 
SignatureValidateException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.property.SignatureValidateException
 
SignatureValidateException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.property.SignatureValidateException
 

T

Texture(String, Map<String, String>) - Constructor for class com.github.steveice10.mc.auth.data.GameProfile.Texture
Creates a new Texture instance.
token_type - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsTokenResponse
 
toString() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Property
 
toString() - Method in class com.github.steveice10.mc.auth.data.GameProfile.Texture
 
toString() - Method in class com.github.steveice10.mc.auth.data.GameProfile
 
toString() - Method in class com.github.steveice10.mc.auth.service.MojangAuthenticationService
 
toString() - Method in class com.github.steveice10.mc.auth.service.MsaAuthenticationService
 
toString() - Method in class com.github.steveice10.mc.auth.service.SessionService
 

U

user_code - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 
UserMigratedException - Exception in com.github.steveice10.mc.auth.exception.request
Thrown when using the username of an account that has been migrated to an email address.
UserMigratedException() - Constructor for exception com.github.steveice10.mc.auth.exception.request.UserMigratedException
 
UserMigratedException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.request.UserMigratedException
 
UserMigratedException(String, Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.UserMigratedException
 
UserMigratedException(Throwable) - Constructor for exception com.github.steveice10.mc.auth.exception.request.UserMigratedException
 
UUIDSerializer - Class in com.github.steveice10.mc.auth.util
Utility class for serializing and deserializing UUIDs.
UUIDSerializer() - Constructor for class com.github.steveice10.mc.auth.util.UUIDSerializer
 

V

valueOf(String) - Static method in enum com.github.steveice10.mc.auth.data.GameProfile.TextureModel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.steveice10.mc.auth.data.GameProfile.TextureType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.steveice10.mc.auth.data.GameProfile.TextureModel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.steveice10.mc.auth.data.GameProfile.TextureType
Returns an array containing the constants of this enum type, in the order they are declared.
verification_uri - Variable in class com.github.steveice10.mc.auth.service.MsaAuthenticationService.MsCodeResponse
 

W

write(JsonWriter, UUID) - Method in class com.github.steveice10.mc.auth.util.UUIDSerializer
 

X

XboxRequestException - Exception in com.github.steveice10.mc.auth.exception.request
 
XboxRequestException(String) - Constructor for exception com.github.steveice10.mc.auth.exception.request.XboxRequestException
 
A B C D E F G H I J L M O P R S T U V W X 
Skip navigation links

Copyright © 2023. All rights reserved.