Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class JwtIssuerValidator

  1. Object
  2. JwtIssuerValidator

ImplementsOAuth2TokenValidator<Jwt>

Refuses a token whose iss is not exactly the issuer this server trusts. A token that names no issuer is refused with the rest.

Constructors

public JwtIssuerValidator(String issuer)

Methods

public OAuth2TokenValidatorResult validate(Jwt jwt)Whether token passes, and why not.

Inherited methods

Constructor details

JwtIssuerValidator

public JwtIssuerValidator(String issuer)

Method details

validate

public OAuth2TokenValidatorResult validate(Jwt jwt)
Whether token passes, and why not.