content: /*
   *
   * Licensed to the Apache Software Foundation (ASF) under one or more
   * contributor license agreements.  See the NOTICE file distributed with
   * this work for additional information regarding copyright ownership.
   * The ASF licenses this file to You 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.alibaba.cloudapp.oauth2;
  
  public class OAuthConstant {
      
      public static final int LOGIN_FILTER_ORDER = 0;
      
      public static final String QUERY_SPLIT = "&";
      public static final String QUERY_EQUAL = "=";
      public static final String QUERY_START = "?";
      
      public static final String AUTHORIZATION_CODE = "authorization_code";
      public static final String CLIENT_CREDENTIALS = "client_credentials";
      public static final String PASSWORD = "password";
      public static final String IMPLICIT = "implicit";
      
      public static final String CODE_VERIFIER = "code_verifier";
      public static final String CODE_CHALLENGE = "code_challenge";
      
      public static final String STATE = "state";
      public static final String CODE = "code";
      
      public static final String ACCESS_TOKEN = "access_token";
      public static final String REFRESH_TOKEN = "refresh_token";
      public static final String TOKEN_TYPE = "token_type";
      public static final String EXPIRES_IN = "expires_in";
      public static final String SCOPE = "scope";
      
      public static final String AUTHORIZATION_URI = "authorizationURI";
      
      public static final String CLIENT_ID = "client_id";
      public static final String CLIENT_SECRET = "client_secret";
      public static final String REDIRECT_URI = "redirect_uri";
      public static final String SCOPES = "scopes";
      public static final String TOKEN_URL = "tokenUrl";
      public static final String GRANT_TYPE = "grant_type";
      public static final String RESPONSE_TYPE = "response_type";
      
      public static final String TOKEN = "token";
      
      public static final String USERNAME = "username";
      
  }
  