@@ -0,0 +1,1281 @@
+package com.darkyoooooo.jmccc.auth;%0A%0Aimport java.util.Objects;%0A%0Apublic class AuthResult %7B%0A%0A    private String username;%0A    private String token;%0A%0A    /**%0A     * Creates an AuthResult with the given username and null access token(offline authentication).%0A     * %0A     * @param username the username%0A     * @throws NullPointerException if %3Ccode%3Eusername==null%3C/code%3E%0A     */%0A    public AuthResult(String username) %7B%0A        this(username, null);%0A    %7D%0A%0A    /**%0A     * Creates an AuthResult with the given username and the given access token.%0A     * %0A     * @param username the username%0A     * @param token the access token, null if no token(offline authentication)%0A     * @throws NullPointerException if %3Ccode%3Eusername==null%3C/code%3E%0A     */%0A    public AuthResult(String username, String token) %7B%0A        Objects.requireNonNull(username);%0A        this.username = username;%0A        this.token = token;%0A    %7D%0A%0A    /**%0A     * Gets the username.%0A     * %0A     * @return the username%0A     */%0A    public String getUsername() %7B%0A        return username;%0A    %7D%0A%0A    /**%0A     * Gets the access token, null if no token(offline authentication).%0A     * %0A     * @return the access token, null if no token(offline authentication)%0A     */%0A    public String getToken() %7B%0A        return token;%0A    %7D%0A%0A%7D%0A

add AuthResult