MCPcopy Create free account
hub / github.com/crewjam/saml / GetServiceProvider

Method GetServiceProvider

identity_provider.go:71–71  ·  view source on GitHub ↗

GetServiceProvider returns the Service Provider metadata for the service provider ID, which is typically the service provider's metadata URL. If an appropriate service provider cannot be found then the returned error must be os.ErrNotExist.

(r *http.Request, serviceProviderID string)

Source from the content-addressed store, hash-verified

69 // metadata URL. If an appropriate service provider cannot be found then
70 // the returned error must be os.ErrNotExist.
71 GetServiceProvider(r *http.Request, serviceProviderID string) (*EntityDescriptor, error)
72}
73
74// AssertionMaker is an interface used by IdentityProvider to construct the

Callers 2

ServeIDPInitiatedMethod · 0.65
ValidateMethod · 0.65

Implementers 2

mockServiceProviderProvideridentity_provider_test.go
Serversamlidp/samlidp.go

Calls

no outgoing calls

Tested by

no test coverage detected