Package com.wavefront.agent.auth
Interface TokenAuthenticator
-
public interface TokenAuthenticator
Token validator for processing incoming requests.- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
authorize(String token)
Validate a token.boolean
authRequired()
Check whether authentication is required (i.e.
-
-
-
Method Detail
-
authorize
boolean authorize(@Nullable String token)
Validate a token.- Parameters:
token
- token to validate.- Returns:
- true if the token is considered valid.
-
authRequired
boolean authRequired()
Check whether authentication is required (i.e. "true" authenticator)- Returns:
- true if authentication is required.
-
-