001/******************************************************************************* 002 * Copyright 2017 The MIT Internet Trust Consortium 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 *******************************************************************************/ 016package org.mitre.openid.connect.request; 017 018public interface ConnectRequestParameters { 019 020 public String CLIENT_ID = "client_id"; 021 public String RESPONSE_TYPE = "response_type"; 022 public String REDIRECT_URI = "redirect_uri"; 023 public String STATE = "state"; 024 public String DISPLAY = "display"; 025 public String REQUEST = "request"; 026 public String LOGIN_HINT = "login_hint"; 027 public String MAX_AGE = "max_age"; 028 public String CLAIMS = "claims"; 029 public String SCOPE = "scope"; 030 public String NONCE = "nonce"; 031 public String PROMPT = "prompt"; 032 033 // prompt values 034 public String PROMPT_LOGIN = "login"; 035 public String PROMPT_NONE = "none"; 036 public String PROMPT_CONSENT = "consent"; 037 public String PROMPT_SEPARATOR = " "; 038 039 // extensions 040 public String APPROVED_SITE = "approved_site"; 041 042 // responses 043 public String ERROR = "error"; 044 public String LOGIN_REQUIRED = "login_required"; 045 046 // audience 047 public String AUD = "aud"; 048 049 // PKCE 050 public String CODE_CHALLENGE = "code_challenge"; 051 public String CODE_CHALLENGE_METHOD = "code_challenge_method"; 052 public String CODE_VERIFIER = "code_verifier"; 053 054}