Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUserNotFound = errors.New("user_not_found")
ErrUserNotFound is returned when the SAML -> GitHub username mapping cannot be found.
Functions ¶
This section is empty.
Types ¶
type Saml ¶
type Saml struct {
MuteUserNotFoundErr bool // Mutes the `user_not_found` error if the user cannot be discovered.
// contains filtered or unexported fields
}
func (*Saml) GetEmailFromUsername ¶
GetEmailFromUsername takes a list of GitHub usernames, and returns a list of emails.
Click to show internal directories.
Click to hide internal directories.