Package tech.greenfield.vertx.irked.auth
Class BearerAuthorizationToken
- java.lang.Object
-
- tech.greenfield.vertx.irked.auth.AuthorizationToken
-
- tech.greenfield.vertx.irked.auth.BearerAuthorizationToken
-
public class BearerAuthorizationToken extends AuthorizationToken
Implementation of the standard RFC 6750 Bearer authentication scheme token No additional parsing is done on the bearer token and the user is expected to implement their own verification on the token value that can be retrieved from theAuthorizationToken.getToken()method.- Author:
- odeda
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class tech.greenfield.vertx.irked.auth.AuthorizationToken
AuthorizationToken.TokenTypes
-
-
Constructor Summary
Constructors Constructor Description BearerAuthorizationToken()BearerAuthorizationToken(String token)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleansupports(String type)Check whether an AuthorizationToken implementation supports the speciefied IANA HTTP Authentication Scheme Name
-
-
-
Constructor Detail
-
BearerAuthorizationToken
public BearerAuthorizationToken()
-
BearerAuthorizationToken
public BearerAuthorizationToken(String token)
-
-
Method Detail
-
supports
protected boolean supports(String type)
Description copied from class:AuthorizationTokenCheck whether an AuthorizationToken implementation supports the speciefied IANA HTTP Authentication Scheme Name- Overrides:
supportsin classAuthorizationToken- Parameters:
type- IANA HTTP Authentication Scheme Name- Returns:
- whether this implementation supports the specified name
-
-