Package io.micronaut.security.token
Interface Claims
- All Known Subinterfaces:
 JwtClaims,OpenIdClaims
- All Known Implementing Classes:
 JwtClaimsSetAdapter,JWTOpenIdClaims,MapClaims
public interface Claims
Authentication claims.
- Since:
 - 1.1.0
 - Author:
 - Sergio del Amo
 
- 
Method Summary
 
- 
Method Details
- 
get
Retrieves a value from the claims for the given name.- Parameters:
 name- the claim name- Returns:
 nullif the claim not exist or the claim value.
 - 
names
- Returns:
 - All claim names.
 
 - 
contains
- Parameters:
 name- the claim name- Returns:
 falseif the claim does not exist.
 
 -