Documentation ¶
Index ¶
- Constants
- func NewCorpSSODriver(cfg SSOConfig) sdk.Driver
- type CorpSSODriver
- func (c CorpSSODriver) CheckSigninRequest(req sdk.AuthConsumerSigninRequest) error
- func (c CorpSSODriver) CheckSigninStateToken(req sdk.AuthConsumerSigninRequest) error
- func (c CorpSSODriver) GetSigninURI(state sdk.AuthSigninConsumerToken) (sdk.AuthDriverSigningRedirect, error)
- func (c CorpSSODriver) GetUserInfoFromDriver(ctx context.Context, req sdk.AuthConsumerSigninRequest) (sdk.AuthDriverUserInfo, error)
- type IssuedToken
- type SSOConfig
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewCorpSSODriver ¶
Types ¶
type CorpSSODriver ¶
type CorpSSODriver struct {
Config SSOConfig
}
func (CorpSSODriver) CheckSigninRequest ¶
func (c CorpSSODriver) CheckSigninRequest(req sdk.AuthConsumerSigninRequest) error
func (CorpSSODriver) CheckSigninStateToken ¶
func (c CorpSSODriver) CheckSigninStateToken(req sdk.AuthConsumerSigninRequest) error
func (CorpSSODriver) GetSigninURI ¶
func (c CorpSSODriver) GetSigninURI(state sdk.AuthSigninConsumerToken) (sdk.AuthDriverSigningRedirect, error)
func (CorpSSODriver) GetUserInfoFromDriver ¶
func (c CorpSSODriver) GetUserInfoFromDriver(ctx context.Context, req sdk.AuthConsumerSigninRequest) (sdk.AuthDriverUserInfo, error)
type IssuedToken ¶
type IssuedToken struct { Audience string `json:"Audience"` RemoteUser string `json:"RemoteUser"` RemoteUsername string `json:"RemoteUsername"` Email string `json:"email"` TokenID string `json:"TokenId"` MFA bool `json:"MFA"` IAT int64 `json:"iat"` Organization string `json:"org"` Groups []string `json:"Groups,omitempty"` }
Click to show internal directories.
Click to hide internal directories.