Class KeycloakAuthorization
- java.lang.Object
-
- io.vertx.reactivex.ext.auth.authorization.AuthorizationProvider
-
- io.vertx.reactivex.ext.auth.oauth2.authorization.KeycloakAuthorization
-
public class KeycloakAuthorization extends AuthorizationProvider
Implementation of the Keycloak Authorization Provider. NOTE: This class has been automatically generated from theoriginal
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<KeycloakAuthorization>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description KeycloakAuthorization(KeycloakAuthorization delegate)
KeycloakAuthorization(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeycloakAuthorization
create()
Factory method to create an Authorization Provider for tokens adhering to the Keycloak token format.boolean
equals(Object o)
KeycloakAuthorization
getDelegate()
int
hashCode()
static KeycloakAuthorization
newInstance(KeycloakAuthorization arg)
String
toString()
-
Methods inherited from class io.vertx.reactivex.ext.auth.authorization.AuthorizationProvider
create, getAuthorizations, getAuthorizations, getId, newInstance, rxGetAuthorizations
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<KeycloakAuthorization> __TYPE_ARG
-
-
Constructor Detail
-
KeycloakAuthorization
public KeycloakAuthorization(KeycloakAuthorization delegate)
-
KeycloakAuthorization
public KeycloakAuthorization(Object delegate)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classAuthorizationProvider
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAuthorizationProvider
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAuthorizationProvider
-
getDelegate
public KeycloakAuthorization getDelegate()
- Overrides:
getDelegate
in classAuthorizationProvider
-
create
public static KeycloakAuthorization create()
Factory method to create an Authorization Provider for tokens adhering to the Keycloak token format. When the user is known to not be a JWT, (e.g.: a OAuth2 response token) then the root claim is expected to be the extracted from the user under the key:accessToken
.- Returns:
- a AuthorizationProvider
-
newInstance
public static KeycloakAuthorization newInstance(KeycloakAuthorization arg)
-
-