Package me.axieum.mcmod.authme.api
Class Config.LoginMethods.Microsoft
java.lang.Object
me.axieum.mcmod.authme.api.Config.LoginMethods.Microsoft
- Enclosing class:
Config.LoginMethods
Login via Microsoft configuration schema.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringOAuth2 authorization url.static StringOAuth2 client id.static StringMinecraft authentication url.static StringMinecraft profile url.static intThe port from which to listen for OAuth2 callbacks.Indicates the type of user interaction that is required.static StringOAuth2 access token url.static StringXbox authentication url.static StringXbox XSTS authorization url. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanDetermines whether the configured URLs differ from the defaults.
-
Field Details
-
prompt
Indicates the type of user interaction that is required. -
port
public static int portThe port from which to listen for OAuth2 callbacks. -
clientId
OAuth2 client id. -
authorizeUrl
OAuth2 authorization url. -
tokenUrl
OAuth2 access token url. -
xboxAuthUrl
Xbox authentication url. -
xboxXstsUrl
Xbox XSTS authorization url. -
mcAuthUrl
Minecraft authentication url. -
mcProfileUrl
Minecraft profile url.
-
-
Constructor Details
-
Microsoft
public Microsoft()
-
-
Method Details
-
isDefaults
public static boolean isDefaults()Determines whether the configured URLs differ from the defaults.- Returns:
- true if the configured URLs are unchanged
-