001    package com.nimbusds.openid.connect.sdk;
002    
003    
004    import net.jcip.annotations.Immutable;
005    
006    import com.nimbusds.oauth2.sdk.ResponseType;
007    
008    
009    /**
010     * OpenID Connect {@link #ID_TOKEN id_token} response type value constant.
011     *
012     * <p>Related specifications:
013     *
014     * <ul>
015     *     <li>OpenID Connect Messages, section 2.1.1.
016     *     <li>OAuth 2.0 Multiple Response Type Encoding Practices
017     *     <li>OAuth 2.0 (RFC 6749), sections 3.1.1 and 4.1.1.
018     * </ul>
019     *
020     * @author Vladimir Dzhuvinov
021     */
022    @Immutable
023    public class OIDCResponseTypeValue {
024    
025            
026            /**
027             * ID Token.
028             */
029            public static final ResponseType.Value ID_TOKEN = new ResponseType.Value("id_token");
030    
031    
032            /**
033             * Prevents public instantiation.
034             */
035            private OIDCResponseTypeValue() { }
036    }