9 lines
257 B
Java
9 lines
257 B
Java
|
|
package app.playmancala.auth;
|
||
|
|
|
||
|
|
import app.playmancala.model.AuthUser;
|
||
|
|
|
||
|
|
public interface TokenVerifier {
|
||
|
|
// The token's user. May block (fetching signing keys); call it off the game loop.
|
||
|
|
AuthUser verify(String token) throws InvalidTokenException;
|
||
|
|
}
|