package
0.0.0-20180115181011-b95b076ec893
Repository: https://github.com/minio/federator.git
Documentation: pkg.go.dev

# Functions

New creates a new SAMLMiddleware.
ParseSAMLResponse - parses base64 encoded SAML assertion response XML.

# Constants

Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html.
Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html.
Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html.
Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html.
Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html.
Error codes, non exhaustive list - http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithSAML.html.

# Variables

CommitID - latest commit id.
GOPATH - GOPATH value at the time of build.
ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
ShortCommitID - first 12 characters from CommitID.
Version - version time.RFC3339.

# Structs

Assertion - contains assertions if any.
AssumedRoleUser - The identifiers for the temporary security credentials that the operation returns.
AssumeRoleWithSAMLResult - Contains the response to a successful AssumeRoleWithSAML request, including temporary AWS credentials that can be used to make AWS requests.
Attribute --.
AttributeStatement --.
AttributeValue --.
Audience --.
AudienceRestriction --.
AuthnContext --.
AuthnContextClassRef --.
AuthnStatement --.
CanonicalizationMethod - Use of Exclusive Canonicalization ensures that signatures created over SAML messages embedded in an XML context can be verified independent of that context.
Conditions --.
DigestMethod - algorithm used for generating the digest.
DigestValue - digest value.
Issuer - http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf The <Issuer> element, with complex type NameIDType, provides information about the issuer of a SAML assertion or protocol message.
KeyInfo - SAML does not require the use of <ds:KeyInfo>, nor does it impose any restrictions on its use.
NameID --.
Options represents the parameters for creating a new middleware.
Response - saml assertion response obtained after parsing base64 encoded SAML assertion response from identity provider.
SAMLMiddleware implements middleware than allows a web application to support SAML.
Signature - An XML Signature that protects the integrity of and authenticates the issuer of the assertion.
SignatureMethod - defines algorithm used to generate assertion signature.
Status - <Status> element contains a code representing the status of the activity carried out in response to the corresponding request.
STSError structure.
STSErrorResponse - error response format.
Subject --.
SubjectConfirmation --.
SubjectConfirmationData --.
TokenClaims - extends jwt standard claims with SAML attributes.
Transforms - Signatures in SAML messages SHOULD NOT contain transforms other than the enveloped signature transform (with the identifier http://www.w3.org/2000/09/xmldsig#enveloped-signature) or the exclusive Canonicalization transforms (with the identifier http://www.w3.org/2001/10/xml-exc-c14n# or http://www.w3.org/2001/10/xml-exc-c14n#WithComments).
X509Certificate - base64 encoded x.509 certificate data.

# Type aliases

STSErrorCode type of error status.