-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e682544
commit 88bc2e2
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* This file is part of WaybackAuthLib - https://github.com/FlorianMichael/WaybackAuthLib | ||
* Copyright (C) 2023 FlorianMichael/EnZaXD and contributors | ||
* Copyright (C) 2023-2024 FlorianMichael/EnZaXD <[email protected]> and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -22,4 +22,5 @@ public class InvalidCredentialsException extends InvalidRequestException { | |
public InvalidCredentialsException(final String message) { | ||
super(message); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* This file is part of WaybackAuthLib - https://github.com/FlorianMichael/WaybackAuthLib | ||
* Copyright (C) 2023 FlorianMichael/EnZaXD and contributors | ||
* Copyright (C) 2023-2024 FlorianMichael/EnZaXD <[email protected]> and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -38,4 +38,5 @@ public InvalidRequestException(String error, String errorMessage, String cause) | |
this.errorMessage = errorMessage; | ||
this.cause = cause; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* This file is part of WaybackAuthLib - https://github.com/FlorianMichael/WaybackAuthLib | ||
* Copyright (C) 2023 FlorianMichael/EnZaXD and contributors | ||
* Copyright (C) 2023-2024 FlorianMichael/EnZaXD <[email protected]> and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -26,6 +26,7 @@ | |
import java.util.*; | ||
|
||
public class WaybackAuthLib { | ||
|
||
public final static String YGG_PROD = "https://authserver.mojang.com/"; | ||
|
||
private final static String ROUTE_AUTHENTICATE = "authenticate"; | ||
|
@@ -362,4 +363,5 @@ private static class AuthenticateRefreshResponse extends Response { | |
public GameProfile[] availableProfiles; | ||
public User user; | ||
} | ||
|
||
} |