public class Authenticator<U extends de.whitefrog.froggy.auth.model.BaseUser> extends Object implements io.dropwizard.auth.Authenticator<String,U>
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_TOKEN_EXPIRE_TIME_MIN |
| Constructor and Description |
|---|
Authenticator(BaseUserRepository<U> repository) |
| Modifier and Type | Method and Description |
|---|---|
Optional<U> |
authenticate(String accessToken) |
static void |
updateLastApiAccess(String accessToken) |
public static final int ACCESS_TOKEN_EXPIRE_TIME_MIN
public Authenticator(BaseUserRepository<U> repository)
public static void updateLastApiAccess(String accessToken)
Copyright © 2018. All rights reserved.