Factory interface for creating JWT based io.vertx.ext.auth.AuthProvider instances.

  • JWTAuth
    • AuthProvider
      • Basic
        • Identifiable
        • Object
          • Anything

no subtypes hierarchy

Initializer
JWTAuth(JWTAuth unknown)
Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
generateTokenshared default String generateToken(Object claims)

Generate a new JWT token.

Parameters:
  • claims

    Json with user defined claims for a list of official claims

generateTokenshared default String generateToken(Object claims, JWTOptions options)

Generate a new JWT token.

Parameters:
  • claims

    Json with user defined claims for a list of official claims

  • options

    extra options for the generation

Inherited Methods
Methods inherited from: AuthProvider
authenticate
Methods inherited from: Object
equals