MCPcopy Create free account

hub / github.com/crewjam/saml / types & classes

Types & classes124 in github.com/crewjam/saml

↓ 13 callersTypeAliasRelaxedTime
RelaxedTime is a version of time.Time that supports the time format found in SAML documents.
time.go:7
↓ 5 callersTypeAliasErrIncorrectKeyType
ErrIncorrectKeyType is returned when the key is not the correct type
xmlenc/decrypt.go:47
↓ 4 callersTypeAliasDuration
Duration is a time.Duration that uses the xsd:duration format for text marshalling and unmarshalling.
duration.go:13
↓ 4 callersTypeAliasErrIncorrectKeyLength
ErrIncorrectKeyLength is returned when the fixed length key is not of the required length.
xmlenc/decrypt.go:40
↓ 2 callersTypeAliasErrAlgorithmNotImplemented
ErrAlgorithmNotImplemented is returned when encryption used is not supported.
xmlenc/decrypt.go:20
↓ 2 callersTypeAliasNameIDFormat
NameIDFormat is the format of the id
service_provider.go:30
↓ 1 callersTypeAliasErrCannotFindRequiredElement
ErrCannotFindRequiredElement is returned by Decrypt when a required element cannot be found.
xmlenc/decrypt.go:28
↓ 1 callersFuncTypemockTransport
func(req *http.Request) (*http.Response, error)
samlsp/samlsp_test.go:18
StructAffiliationDescriptor
AffiliationDescriptor represents the SAML AffiliationDescriptor object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2
metadata.go:295
TypeAliasAlias
schema.go:112
TypeAliasAlias
metadata.go:69
StructArtifactResolve
ArtifactResolve represents the SAML object of the same name.
schema.go:325
StructArtifactResponse
ArtifactResponse represents the SAML object of the same name.
schema.go:406
StructAssertion
Assertion represents the SAML element Assertion. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.3.3
schema.go:728
StructAssertionAttribute
AssertionAttribute represents an attribute of the user extracted from a SAML Assertion.
service_provider.go:565
TypeAliasAssertionAttributes
AssertionAttributes is a list of AssertionAttribute
service_provider.go:547
InterfaceAssertionMaker
AssertionMaker is an interface used by IdentityProvider to construct the assertion for a request. The default implementation is DefaultAssertionMaker,
identity_provider.go:77
StructAttribute
Attribute represents the SAML element Attribute. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.3.1
schema.go:1203
StructAttributeAuthorityDescriptor
AttributeAuthorityDescriptor represents the SAML AttributeAuthorityDescriptor object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata
metadata.go:283
StructAttributeConsumingService
AttributeConsumingService represents the SAML AttributeConsumingService object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-o
metadata.go:244
StructAttributeStatement
AttributeStatement represents the SAML element AttributeStatement. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.3
schema.go:1187
StructAttributeValue
AttributeValue represents the SAML element AttributeValue. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.3.1.1
schema.go:1231
TypeAliasAttributes
Attributes is a map of attributes provided in the SAML assertion
samlsp/session_jwt.go:130
StructAudience
Audience represents the SAML element Audience. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.5.1.4
schema.go:1029
StructAudienceRestriction
AudienceRestriction represents the SAML element AudienceRestriction. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.5.1.4
schema.go:1015
StructAuthnAuthorityDescriptor
AuthnAuthorityDescriptor represents the SAML AuthnAuthorityDescriptor object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.
metadata.go:263
StructAuthnContext
AuthnContext represents the SAML element AuthnContext. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.2.2
schema.go:1154
StructAuthnContextClassRef
AuthnContextClassRef represents the SAML element AuthnContextClassRef. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.2.
schema.go:1173
StructAuthnRequest
AuthnRequest represents the SAML object of the same name, a request from a service provider to authenticate a user. See http://docs.oasis-open.org/se
schema.go:36
StructAuthnStatement
AuthnStatement represents the SAML element AuthnStatement. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.7.2
schema.go:1073
InterfaceBlockCipher
BlockCipher implements a cipher with a fixed size key like AES or 3DES.
xmlenc/xmlenc.go:58
StructCBC
CBC implements Decrypter and Encrypter for block ciphers in CBC mode
xmlenc/cbc.go:15
StructConditions
Conditions represents the SAML element Conditions. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.5.1
schema.go:950
StructContactPerson
ContactPerson represents the SAML element ContactPerson. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.2.2
metadata.go:128
StructCookieRequestTracker
CookieRequestTracker tracks requests by setting a uniquely named cookie for each request.
samlsp/request_tracker_cookie.go:17
StructCookieSessionProvider
CookieSessionProvider is an implementation of SessionProvider that stores session tokens in an HTTP cookie.
samlsp/session_cookie.go:17
InterfaceDecrypter
Decrypter is an interface that decrypts things. The Decrypt() method returns the plaintext version of the EncryptedData or EncryptedKey element passed
xmlenc/xmlenc.go:29
StructDefaultAssertionMaker
DefaultAssertionMaker produces a SAML assertion for the given request and assigns it to req.Assertion.
identity_provider.go:549
InterfaceDigestMethod
DigestMethod represents a digest method such as SHA1, etc.
xmlenc/xmlenc.go:35
InterfaceEncrypter
Encrypter is an interface that encrypts things. Given a plaintext it returns an XML EncryptedData or EncryptedKey element. The required type of `key`
xmlenc/xmlenc.go:20
StructEncryptionMethod
EncryptionMethod represents the XMLSEC object of the same name
metadata.go:160
StructEndpoint
Endpoint represents the SAML EndpointType object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.2
metadata.go:185
StructEntitiesDescriptor
EntitiesDescriptor represents the SAML object of the same name. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.1
metadata.go:25
StructEntityDescriptor
EntityDescriptor represents the SAML EntityDescriptor object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.2
metadata.go:48
StructErrBadStatus
ErrBadStatus is returned when the assertion provided is valid but the status code is not "urn:oasis:names:tc:SAML:2.0:status:Success".
service_provider.go:587
FuncTypeErrorFunction
ErrorFunction is a callback that is invoked to return an error to the web user.
samlsp/error.go:12
StructGCM
GCM implements Decrypter and Encrypter for block ciphers in struct mode
xmlenc/gcm.go:15
StructIDPSSODescriptor
IDPSSODescriptor represents the SAML IDPSSODescriptorType object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.3
metadata.go:216
StructIdentityProvider
IdentityProvider implements the SAML Identity Provider role (IDP). An identity provider receives SAML assertion requests and responds with SAML Asser
identity_provider.go:97
StructIdentityProviderTest
identity_provider_test.go:34
StructIdpAuthnRequest
IdpAuthnRequest is used by IdentityProvider to handle a single authentication request.
identity_provider.go:335
StructIdpAuthnRequestForm
IdpAuthnRequestForm contans HTML form information to be submitted to the SAML HTTP POST binding ACS.
identity_provider.go:901
StructIndexedEndpoint
IndexedEndpoint represents the SAML IndexedEndpointType object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.3
metadata.go:194
InterfaceInterface
Interface provides the minimal logging interface
logger/logger.go:9
StructInvalidResponseError
InvalidResponseError is the error produced by ParseResponse when it fails. The underlying error is in PrivateErr. Response is the response as it was k
service_provider.go:575
StructIssuer
Issuer represents the SAML object of the same name. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
schema.go:271
StructJWTSessionClaims
JWTSessionClaims represents the JWT claims in the encoded session
samlsp/session_jwt.go:116
StructJWTSessionCodec
JWTSessionCodec implements SessionCoded to encode and decode Sessions from the corresponding JWT.
samlsp/session_jwt.go:21
StructJWTTrackedRequestClaims
JWTTrackedRequestClaims represents the JWT claims for a tracked request.
samlsp/request_tracker_jwt.go:27
StructJWTTrackedRequestCodec
JWTTrackedRequestCodec encodes TrackedRequests as signed JWTs
samlsp/request_tracker_jwt.go:16
StructKeyDescriptor
KeyDescriptor represents the XMLSEC object of the same name
metadata.go:153
StructKeyInfo
KeyInfo represents the XMLSEC object of the same name
metadata.go:165
StructLink
Link represents a short link
example/service.go:28
StructLocalizedName
LocalizedName represents the SAML type localizedNameType. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.4
metadata.go:112
StructLocalizedURI
LocalizedURI represents the SAML type localizedURIType. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.2.5
metadata.go:120
StructLogoutRequest
LogoutRequest represents the SAML object of the same name, a request from an IDP to destroy a user's session. See http://docs.oasis-open.org/securit
schema.go:66
StructLogoutResponse
LogoutResponse represents the SAML object of the same name. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
schema.go:1253
StructMemoryStore
MemoryStore is an implementation of Store that resides completely in memory.
samlidp/memory_store.go:11
StructMiddleware
Middleware implements middleware than allows a web application to support SAML. It implements http.Handler so that it can provide the metadata and AC
samlsp/middleware.go:41
StructMiddlewareTest
samlsp/middleware_test.go:30
StructNameID
NameID represents the SAML element NameID. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.2.3
schema.go:816
StructNameIDPolicy
NameIDPolicy represents the SAML object of the same name. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
schema.go:302
StructOneTimeUse
OneTimeUse represents the SAML element OneTimeUse. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.5.1.5
schema.go:1043
StructOptions
Options represents the parameters for creating a new middleware
samlsp/new.go:16
StructOptions
Options represent the parameters to New() for creating a new IDP server
samlidp/samlidp.go:20
StructOrganization
Organization represents the SAML Organization object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.3.2.1
metadata.go:103
StructPDPDescriptor
PDPDescriptor represents the SAML PDPDescriptor object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.6
metadata.go:273
StructProxyRestriction
ProxyRestriction represents the SAML element ProxyRestriction. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §2.5.1.6
schema.go:1053
StructRSA
RSA implements Encrypter and Decrypter using RSA public key encryption. Use function like OAEP(), or PKCS1v15() to get an instance of this type ready
xmlenc/pubkey.go:16
InterfaceRequestTracker
RequestTracker tracks pending authentication requests. There are two main reasons for this: 1. When the middleware initiates an authentication reque
samlsp/request_tracker.go:16
StructRequestedAttribute
RequestedAttribute represents the SAML RequestedAttribute object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.4.2
metadata.go:255
StructRequestedAuthnContext
RequestedAuthnContext represents the SAML object of the same name, an indication of the requirements on the authentication process.
schema.go:16
StructResponse
Response represents the SAML object of the same name. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
schema.go:482
StructRoleDescriptor
RoleDescriptor represents the SAML element RoleDescriptor. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.1
metadata.go:140
StructSPSSODescriptor
SPSSODescriptor represents the SAML SPSSODescriptorType object. See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.2
metadata.go:232
StructSSODescriptor
SSODescriptor represents the SAML complex type SSODescriptor See http://docs.oasis-open.org/security/saml/v2.0/saml-metadata-2.0-os.pdf §2.4.2
metadata.go:205
StructServer
Server represents an IDP server. The server provides the following URLs: /metadata - the SAML metadata /sso - the SAML endpoint to ini
samlidp/samlidp.go:38
StructServerTest
samlidp/samlidp_test.go:69
StructService
Service represents a configured SP for whom this IDP provides authentication services.
samlidp/service.go:16
StructServiceProvider
ServiceProvider implements SAML Service provider. In SAML, service providers delegate responsibility for identifying clients to an identity provider.
service_provider.go:64
InterfaceServiceProviderProvider
ServiceProviderProvider is an interface used by IdentityProvider to look up service provider metadata for a request.
identity_provider.go:66
StructServiceProviderTest
service_provider_test.go:27
InterfaceSession
Session is an interface implemented to contain a session.
samlsp/session.go:12
StructSession
Session represents a user session. It is returned by the SessionProvider implementation's GetSession method. Fields here are used to set fields in the
identity_provider.go:32
InterfaceSessionCodec
SessionCodec is an interface to convert SAML assertions to a Session. The default implementation uses JWTs, JWTSessionCodec.
samlsp/session.go:43
StructSessionIndex
SessionIndex represents the SAML element SessionIndex. See http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf §3.7.1
schema.go:848
InterfaceSessionProvider
SessionProvider is an interface used by IdentityProvider to determine the Session associated with a request. For an example implementation, see GetSes
identity_provider.go:56
InterfaceSessionProvider
SessionProvider is an interface implemented by types that can track the active session of a user. The default implementation is CookieSessionProvider
samlsp/session.go:26
InterfaceSessionWithAttributes
SessionWithAttributes is a session that can expose the attributes provided by the SAML identity provider.
samlsp/session.go:16
StructShortcut
Shortcut represents an IDP-initiated SAML flow. When a user navigates to /login/:shortcut it initiates the login flow to the specified service provide
samlidp/shortcut.go:15
next →1–100 of 124, ranked by callers