Top Description Methods
org.eclipse.microprofile.jwt

public Interface ClaimValue<T>

extends Principal
Type Parameters
<T>
the expected type of the claim
Imports
java.security.Principal

A representation of a claim in a JsonWebToken

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name of the claim as seen in the JsonWebToken content
getName
()

Redeclares java.security.Principal.getName.

Access the name of the claim.

public T

Returns:

the value of the claim.
getValue
()

Access the value of the claim.

Inherited from java.security.Principal:
equalshashCodeimpliestoString

Method Detail

getNameback to summary
public String getName()

Redeclares java.security.Principal.getName.

Access the name of the claim.

Returns:String

The name of the claim as seen in the JsonWebToken content

Annotations
@Override
getValueback to summary
public T getValue()

Access the value of the claim.

Returns:T

the value of the claim.