001package com.nimbusds.openid.connect.sdk; 002 003 004import net.jcip.annotations.Immutable; 005 006import 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 Core 1.0, sections 2 and 3.1.2.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@Immutable 021public class OIDCResponseTypeValue { 022 023 024 /** 025 * ID Token response type. 026 */ 027 public static final ResponseType.Value ID_TOKEN = new ResponseType.Value("id_token"); 028 029 030 /** 031 * None response type, should not be combined with other response type 032 * values. 033 */ 034 public static final ResponseType.Value NONE = new ResponseType.Value("none"); 035 036 037 /** 038 * Prevents public instantiation. 039 */ 040 private OIDCResponseTypeValue() { } 041}