Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SAMLAssertionValidityJitter is a small time delta used to avoid the race condition // where a token expires between the time it's validated and re-used. SAMLAssertionValidityJitter = -1 * time.Second SAMLCacheFilePermissions = 0600 SAMLCacheDirPermissions = 0700 SAMLCacheDir = "saml2aws" )
Variables ¶
View Source
var (
ErrInvalidCachePath = errors.New("Cannot evaluate Cache file path")
)
Functions ¶
This section is empty.
Types ¶
type SAMLCacheProvider ¶
SAMLCacheProvider loads aws credentials file
func (*SAMLCacheProvider) IsValid ¶
func (p *SAMLCacheProvider) IsValid() bool
func (*SAMLCacheProvider) ReadRaw ¶ added in v2.34.0
func (p *SAMLCacheProvider) ReadRaw() (string, error)
func (*SAMLCacheProvider) WriteRaw ¶ added in v2.34.0
func (p *SAMLCacheProvider) WriteRaw(samlAssertion string) error
Click to show internal directories.
Click to hide internal directories.