接口 AuthenticationService
public interface AuthenticationService
-
方法概要
修饰符和类型方法说明voidinvalidate(String clientToken, String accessToken) selectProfile(String clientToken, String accessToken, GameProfile profile) voidbooleanboolean
-
方法详细资料
-
login
Session login(String username, String password, String clientToken) throws org.to2mbn.jmccc.auth.AuthenticationException - 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-
refresh
Session refresh(String clientToken, String accessToken) throws org.to2mbn.jmccc.auth.AuthenticationException - 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-
selectProfile
Session selectProfile(String clientToken, String accessToken, GameProfile profile) throws org.to2mbn.jmccc.auth.AuthenticationException - 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-
validate
- 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-
validate
boolean validate(String clientToken, String accessToken) throws org.to2mbn.jmccc.auth.AuthenticationException - 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-
invalidate
void invalidate(String clientToken, String accessToken) throws org.to2mbn.jmccc.auth.AuthenticationException - 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-
signout
- 抛出:
org.to2mbn.jmccc.auth.AuthenticationException
-