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

public interface JwtDecoder

Known subtypesDefaultJwtDecoder, SupplierJwtDecoder

Verifies a token and reads its claims.

An application that wants its resource server to verify tokens its own way declares a bean of this type; see OAuth2ResourceServerConfigurer.

Methods

public abstract Jwt decode(String token)The token, once its signature has verified and its claims have passed the decoder’s validators.

Method details

decode

public abstract Jwt decode(String token)

The token, once its signature has verified and its claims have passed the decoder’s validators.