aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/auth/authprovider/AuthProvider.java
blob: ba42574e0bb3b79516cfa7cb59c7e7a5cd093b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package kr.syeyoung.dungeonsguide.auth.authprovider;

import com.mojang.authlib.exceptions.AuthenticationException;

import java.io.IOException;
import java.security.KeyPair;
import java.security.NoSuchAlgorithmException;

public interface AuthProvider {
    String getToken();

    KeyPair getRsaKey();


    AuthProvider createAuthProvider() throws NoSuchAlgorithmException, AuthenticationException, IOException;
}