Documentation ¶
Index ¶
- Constants
- func GetAuthingAppHost(appIdentifier string) string
- func GetLoginRedirectUris() []string
- func GetLoginRedirectUrisStr() string
- func IsAuthingAppDynamicMode() bool
- func IsAuthingStaticAppId(appId string) bool
- func IsEnterpriseIdpProvider(provider *string) bool
- func IsLocalDbIdpProvider(provider *string) bool
- func IsLocalIdp(idp *string) bool
- func IsSingleConnProvider(provider *string) bool
- func IsSocialIdpProvider(provider *string) bool
- type IDPSubType
- type IDPType
Constants ¶
View Source
const ( DefIdp = IDP_AUTHING DefIdpProvider = IDP_SUB_TYPE_DB )
Variables ¶
This section is empty.
Functions ¶
func GetAuthingAppHost ¶
func GetLoginRedirectUris ¶
func GetLoginRedirectUris() []string
func GetLoginRedirectUrisStr ¶
func GetLoginRedirectUrisStr() string
func IsAuthingAppDynamicMode ¶
func IsAuthingAppDynamicMode() bool
func IsAuthingStaticAppId ¶
func IsEnterpriseIdpProvider ¶
func IsLocalDbIdpProvider ¶
like system admin user, only saved in our db, or like authing db user, will also save in our db/copy
func IsLocalIdp ¶
func IsSingleConnProvider ¶
one idp just can add single conn, but also can add multiple idp with the same provider such as idp, we can add multiple ldap idp, but each provider just has only one conn
func IsSocialIdpProvider ¶
TODO, lot of types currently not support
Types ¶
type IDPSubType ¶
type IDPSubType = string
const ( IDP_SUB_TYPE_DB IDPSubType = "database" // user saved in db IDP_SUB_TYPE_LDAP IDPSubType = "ldap" // enterprise IDP_SUB_TYPE_AD IDPSubType = "ad" // enterprise, windows ad IDP_SUB_TYPE_AZURE_AD IDPSubType = "azure-ad" // enterprise IDP_SUB_TYPE_OAUTH2 IDPSubType = "oauth2" // enterprise IDP_SUB_TYPE_OIDC IDPSubType = "oidc" // enterprise IDP_SUB_TYPE_CAS IDPSubType = "cas" // enterprise IDP_SUB_TYPE_SAML IDPSubType = "saml" // enterprise IDP_SUB_TYPE_DINGTALK IDPSubType = "dingtalk" // enterprise IDP_SUB_TYPE_DINGTALK_MOBILE IDPSubType = "dingtalk:mobile" // enterprise IDP_SUB_TYPE_WECHATWORK_CORP_QRCONNECT IDPSubType = "wechatwork:corp:qrconnect" // enterprise IDP_SUB_TYPE_WECHATWORK_MOBILE IDPSubType = "wechatwork:mobile" // enterprise IDP_SUB_TYPE_FEI_BOOK IDPSubType = "lark-public" // enterprise IDP_SUB_TYPE_WELINK IDPSubType = "welink" // enterprise IDP_SUB_TYPE_BAIDU IDPSubType = "baidu" // Social IDP_SUB_TYPE_BAIDU_MOBILE IDPSubType = "baidu:mobile" // Social IDP_SUB_TYPE_GITEE IDPSubType = "gitee" // Social IDP_SUB_TYPE_WECHAT_PC IDPSubType = "wechat:pc" // Social )
Click to show internal directories.
Click to hide internal directories.