001package com.nimbusds.openid.connect.provider.spi.claims;
002
003
004import java.util.Set;
005
006
007/**
008 * Interface for querying OpenID Connect claims support. Implementations must
009 * be thread-safe.
010 */
011public interface ClaimsSupport {
012
013
014        /**
015         * Returns the names of the supported OpenID Connect claims.
016         *
017         * <p>Example:
018         *
019         * <pre>
020         * name
021         * email
022         * email_verified
023         * </pre>
024         *
025         * @return The supported claim names. Should not include the reserved
026         *         {@code sub} (subject) claim name.
027         */
028        Set<String> supportedClaims();
029}