tech.greenfield.vertx.irked.auth.OAuthAuthorizationToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of irked-vertx Show documentation
Show all versions of irked-vertx Show documentation
Opinionated framework for vertx-web route configuration and dispatch
package tech.greenfield.vertx.irked.auth;
public class OAuthAuthorizationToken extends ParameterEncodedAuthorizationToken {
public OAuthAuthorizationToken() {}
public OAuthAuthorizationToken(String token) {
update("OAuth", token);
}
/* (non-Javadoc)
* @see tech.greenfield.vertx.irked.auth.AuthorizationToken#supports(java.lang.String)
*/
@Override
protected boolean supports(String type) {
return "OAuth".equalsIgnoreCase(type);
}
}