github.com/minio/console@v1.4.1/pkg/auth/idp/oauth2/const.go (about)

     1  // This file is part of MinIO Console Server
     2  // Copyright (c) 2021 MinIO, Inc.
     3  //
     4  // This program is free software: you can redistribute it and/or modify
     5  // it under the terms of the GNU Affero General Public License as published by
     6  // the Free Software Foundation, either version 3 of the License, or
     7  // (at your option) any later version.
     8  //
     9  // This program is distributed in the hope that it will be useful,
    10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12  // GNU Affero General Public License for more details.
    13  //
    14  // You should have received a copy of the GNU Affero General Public License
    15  // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    16  
    17  package oauth2
    18  
    19  // Environment constants for console IDP/SSO configuration
    20  const (
    21  	ConsoleMinIOServer           = "CONSOLE_MINIO_SERVER"
    22  	ConsoleIDPURL                = "CONSOLE_IDP_URL"
    23  	ConsoleIDPClientID           = "CONSOLE_IDP_CLIENT_ID"
    24  	ConsoleIDPSecret             = "CONSOLE_IDP_SECRET"
    25  	ConsoleIDPCallbackURL        = "CONSOLE_IDP_CALLBACK"
    26  	ConsoleIDPCallbackURLDynamic = "CONSOLE_IDP_CALLBACK_DYNAMIC"
    27  	ConsoleIDPHmacPassphrase     = "CONSOLE_IDP_HMAC_PASSPHRASE"
    28  	ConsoleIDPHmacSalt           = "CONSOLE_IDP_HMAC_SALT"
    29  	ConsoleIDPScopes             = "CONSOLE_IDP_SCOPES"
    30  	ConsoleIDPUserInfo           = "CONSOLE_IDP_USERINFO"
    31  	ConsoleIDPTokenExpiration    = "CONSOLE_IDP_TOKEN_EXPIRATION"
    32  )