com.predic8.membrane.core.interceptor.oauth2.ParamNames Maven / Gradle / Ivy
/*
* Copyright 2016 predic8 GmbH, www.predic8.com
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.predic8.membrane.core.interceptor.oauth2;
public class ParamNames {
public static final String REDIRECT_URI = "redirect_uri";
public static final String CLIENT_ID = "client_id";
public static final String RESPONSE_TYPE = "response_type";
public static final String SCOPE = "scope";
public static final String STATE = "state";
public static final String PROMPT = "prompt";
public static final String SCOPE_INVALID = "scope_invalid";
public static final String CODE = "code";
public static final String CLIENT_SECRET = "client_secret";
public static final String CLAIMS = "claims";
public static final String ID_TOKEN = "id_token";
public static final String GRANT_TYPE = "grant_type";
public static final String USERNAME = "username";
public static final String PASSWORD = "password";
public static final String REFRESH_TOKEN = "refresh_token";
public static final String ACCESS_TOKEN = "access_token";
/**
* Holds username/e-mail information to streamline the login process
*/
public static final String LOGIN_HINT = "login_hint";
/**
* Hints the social identity provider that should be used for sign-in
*/
public static final String DOMAIN_HINT = "domain_hint";
/**
* ID token as a hint for the auth server
*/
public static final String ID_TOKEN_HINT = "id_token_hint";
}