接口 AuthenticationService


public interface AuthenticationService
  • 方法详细资料

    • 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

      boolean validate(String accessToken) throws org.to2mbn.jmccc.auth.AuthenticationException
      抛出:
      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

      void signout(String username, String password) throws org.to2mbn.jmccc.auth.AuthenticationException
      抛出:
      org.to2mbn.jmccc.auth.AuthenticationException