global

package
v1.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName                     = "idas"
	OAuthStateCookieName        = "oauth_state"
	RedirectURICookieName       = "oauth_redirect_uri"
	ClientIDCookieName          = "client_id"
	LoginSession                = "IDAS_LOGIN_SESSION"
	CookieAutoLogin             = "IDAS_AUTO_LOGIN"
	RestfulRequestContextName   = "__restful_request__"
	RestfulResponseContextName  = "__restful_response__"
	MetaUser                    = "__user__"
	MetaApp                     = "__app__"
	MetaAppSecretHash           = "__app_secret_hash__"
	MetaProxyConfig             = "__proxy_config__"
	MetaNeedLogin               = "__need_login__"
	MetaUpdateLastSeen          = "__need_login__"
	MetaForceOk                 = "__force_ok__"
	MetaSensitiveData           = "__sensitive_data__"
	MetaAutoRedirectToLoginPage = "__auto_redirect_to_login_page__"
	ActiveExpiration            = 7 * 24 * time.Hour
	AuthCodeExpiration          = 5 * time.Minute
	TokenExpiration             = 1 * time.Hour
	RefreshTokenExpiration      = 30 * 24 * time.Hour
	ResetPasswordExpiration     = 30 * time.Minute
	LoginSessionExpiresFormat   = "Mon, 02-Jan-06 15:04:05 MST"
	HTTPExternalURLKey          = "__http_external_url__"
	HTTPLoginURLKey             = "__http_login_url__"
	HTTPWebPrefixKey            = "__http_web_prefix__"
	RedisKeyPrefix              = "IDAS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL