Package tech.greenfield.vertx.irked.auth
Class MutualAuthorizationToken
- java.lang.Object
-
- tech.greenfield.vertx.irked.auth.AuthorizationToken
-
- tech.greenfield.vertx.irked.auth.ParameterEncodedAuthorizationToken
-
- tech.greenfield.vertx.irked.auth.MutualAuthorizationToken
-
public class MutualAuthorizationToken extends ParameterEncodedAuthorizationToken
Implementation of the standard RFC 8120 Mututal authentication scheme token The token parameters are available from theParameterEncodedAuthorizationToken.getParameter(String)method, though currently no validation is performed to make sure that all required fields are present.- Author:
- odeda
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class tech.greenfield.vertx.irked.auth.AuthorizationToken
AuthorizationToken.TokenTypes
-
-
Constructor Summary
Constructors Constructor Description MutualAuthorizationToken()MutualAuthorizationToken(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-
Methods inherited from class tech.greenfield.vertx.irked.auth.ParameterEncodedAuthorizationToken
getParameter, parseParameters, toHex, update
-
-
-
-
Constructor Detail
-
MutualAuthorizationToken
public MutualAuthorizationToken()
-
MutualAuthorizationToken
public MutualAuthorizationToken(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
-
-