Documentation ¶
Index ¶
- func NewBingoIAMOAuth2Driver(appId string, secret string) oauth2.IOAuth2Driver
- type SApp
- type SBase
- type SBingoIAMDriverFactory
- func (drv SBingoIAMDriverFactory) IdpAttributeOptions() api.SIdpAttributeOptions
- func (drv SBingoIAMDriverFactory) NewDriver(appId string, secret string) oauth2.IOAuth2Driver
- func (drv SBingoIAMDriverFactory) TemplateName() string
- func (drv SBingoIAMDriverFactory) ValidateConfig(conf api.SOAuth2IdpConfigOptions) error
- type SBingoIAMOAuth2Driver
- func (drv *SBingoIAMOAuth2Driver) Authenticate(ctx context.Context, code string) (map[string][]string, error)
- func (drv *SBingoIAMOAuth2Driver) GetSsoRedirectUri(ctx context.Context, callbackUrl, state string) (string, error)
- func (drv *SBingoIAMOAuth2Driver) Sync(ctx context.Context, idpId string) error
- type SOrganization
- type SProject
- type STenant
- type SUser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBingoIAMOAuth2Driver ¶
func NewBingoIAMOAuth2Driver(appId string, secret string) oauth2.IOAuth2Driver
Types ¶
type SBase ¶
type SBase struct { Id string `json:"id"` Name string `json:"name"` Code string `json:"code"` Email string `json:"email"` Mobile string `json:"mobile"` ParentId string `json:"parentId"` ExternalId string `json:"externalId"` Active bool `json:"active"` IsDeleted bool `json:"isDeleted"` CreatedAt time.Time `json:"createdAt"` CreatedBy string `json:"createdBy"` UpdatedAt time.Time `json:"updatedAt"` UpdatedBy string `json:"updatedBy"` }
type SBingoIAMDriverFactory ¶
type SBingoIAMDriverFactory struct{}
func (SBingoIAMDriverFactory) IdpAttributeOptions ¶
func (drv SBingoIAMDriverFactory) IdpAttributeOptions() api.SIdpAttributeOptions
func (SBingoIAMDriverFactory) NewDriver ¶
func (drv SBingoIAMDriverFactory) NewDriver(appId string, secret string) oauth2.IOAuth2Driver
func (SBingoIAMDriverFactory) TemplateName ¶
func (drv SBingoIAMDriverFactory) TemplateName() string
func (SBingoIAMDriverFactory) ValidateConfig ¶
func (drv SBingoIAMDriverFactory) ValidateConfig(conf api.SOAuth2IdpConfigOptions) error
type SBingoIAMOAuth2Driver ¶
type SBingoIAMOAuth2Driver struct { oauth2.SOAuth2BaseDriver // contains filtered or unexported fields }
func (*SBingoIAMOAuth2Driver) Authenticate ¶
func (*SBingoIAMOAuth2Driver) GetSsoRedirectUri ¶
type SOrganization ¶
Click to show internal directories.
Click to hide internal directories.