Documentation ¶
Index ¶
- type SocialService
- func (ss *SocialService) GetConnector(name string) (social.SocialConnector, error)
- func (ss *SocialService) GetOAuthHttpClient(name string) (*http.Client, error)
- func (ss *SocialService) GetOAuthInfoProvider(name string) *social.OAuthInfo
- func (ss *SocialService) GetOAuthInfoProviders() map[string]*social.OAuthInfo
- func (ss *SocialService) GetOAuthProviders() map[string]bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocialService ¶
type SocialService struct {
// contains filtered or unexported fields
}
func ProvideService ¶
func ProvideService(cfg *setting.Cfg, features featuremgmt.FeatureToggles, usageStats usagestats.Service, bundleRegistry supportbundles.Service, cache remotecache.CacheStorage, orgRoleMapper *connectors.OrgRoleMapper, ssoSettings ssosettings.Service, ) *SocialService
func (*SocialService) GetConnector ¶
func (ss *SocialService) GetConnector(name string) (social.SocialConnector, error)
func (*SocialService) GetOAuthHttpClient ¶
func (ss *SocialService) GetOAuthHttpClient(name string) (*http.Client, error)
func (*SocialService) GetOAuthInfoProvider ¶
func (ss *SocialService) GetOAuthInfoProvider(name string) *social.OAuthInfo
func (*SocialService) GetOAuthInfoProviders ¶
func (ss *SocialService) GetOAuthInfoProviders() map[string]*social.OAuthInfo
GetOAuthInfoProviders returns enabled OAuth providers
func (*SocialService) GetOAuthProviders ¶
func (ss *SocialService) GetOAuthProviders() map[string]bool
GetOAuthProviders returns available oauth providers and if they're enabled or not
Click to show internal directories.
Click to hide internal directories.