Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingAssertion = ErrMissingElement{Tag: assertionTag}
)
ErrMissingAssertion indicates that an appropriate assertion element could not be found in the SAML Response
Functions ¶
func ExtractAwsRoles ¶
ExtractAwsRoles given an assertion document extract the aws roles
func GetAuthorizedRoles ¶
GetAuthorizedRoles Returns a list of all roles the uers is authorized to assume
func GetSAMLAssertionBase64 ¶
GetSAMLAssertionBase64 Asks the user for their credentials and then retrieves the SAML assertion from the IdP
Types ¶
type ErrMissingElement ¶
type ErrMissingElement struct {
Tag, Attribute string
}
ErrMissingElement is the error type that indicates an element and/or attribute is missing. It provides a structured error that can be more appropriately acted upon.
func (ErrMissingElement) Error ¶
func (e ErrMissingElement) Error() string
Click to show internal directories.
Click to hide internal directories.