com.mojang.authlib.UserAuthentication Java Examples
The following examples show how to use
com.mojang.authlib.UserAuthentication.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PaperAuthenticationService.java From Kettle with GNU General Public License v3.0 | 4 votes |
@Override public UserAuthentication createUserAuthentication(Agent agent) { return new PaperUserAuthentication(this, agent); }
Example #2
Source File: YggdrasilAuthenticationService.java From Launcher with GNU General Public License v3.0 | 4 votes |
@Override public UserAuthentication createUserAuthentication(Agent agent) { throw new UnsupportedOperationException("createUserAuthentication is used only by Mojang Launcher"); }
Example #3
Source File: MojangAuthenticationFactory.java From EggCrack with GNU General Public License v2.0 | 4 votes |
public UserAuthentication createUserAuthentication(Proxy proxy) { return new YggdrasilAuthenticationService( proxy, UUID.randomUUID().toString() ).createUserAuthentication(agent); }
Example #4
Source File: AuthenticationFactory.java From EggCrack with GNU General Public License v2.0 | 2 votes |
/** * Creates a new Mojang user authentication instance using the given proxy. * @param proxy Proxy to use. * @return User authentication instance. */ public UserAuthentication createUserAuthentication(Proxy proxy);