diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/auth/authprovider/AuthProvider.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/auth/authprovider/AuthProvider.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/auth/authprovider/AuthProvider.java b/src/main/java/kr/syeyoung/dungeonsguide/auth/authprovider/AuthProvider.java new file mode 100644 index 00000000..ba42574e --- /dev/null +++ b/src/main/java/kr/syeyoung/dungeonsguide/auth/authprovider/AuthProvider.java @@ -0,0 +1,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; +} |