Documentation ¶
Index ¶
- type CallbackOutput
- type Config
- type SsoClient
- func (s *SsoClient) Authorize(redis storage.Redis, redirect string) (string, string, error)
- func (s *SsoClient) GetDisplayName() string
- func (s *SsoClient) Reload(cf Config)
- func (s *SsoClient) ValidateServiceTicket(ctx context.Context, ticket, state string, redis storage.Redis) (ret *CallbackOutput, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackOutput ¶
type SsoClient ¶
type SsoClient struct { Enable bool Config Config SsoAddr string CallbackAddr string DisplayName string Attributes struct { Nickname string Phone string Email string } DefaultRoles []string CoverAttributes bool sync.RWMutex }
func (*SsoClient) GetDisplayName ¶
func (*SsoClient) ValidateServiceTicket ¶
Click to show internal directories.
Click to hide internal directories.