Documentation ¶
Overview ¶
HTTP server that uses OAuth to create security.Blessings objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityServer ¶
type IdentityServer struct {
// contains filtered or unexported fields
}
func NewIdentityServer ¶
func NewIdentityServer(oauthProvider oauth.OAuthProvider, auditor audit.Auditor, blessingLogReader auditor.BlessingLogReader, revocationManager revocation.RevocationManager, caveatSelector caveats.CaveatSelector, assetsPrefix, mountNamePrefix, dischargerLocation string, registeredApps handlers.RegisteredAppMap) *IdentityServer
NewIdentityServer returns a IdentityServer that: - uses oauthProvider to authenticate users - auditor and blessingLogReader to audit the root principal and read audit logs - revocationManager to store revocation data and grant discharges
Click to show internal directories.
Click to hide internal directories.