Documentation
¶
Overview ¶
Pacakge ussodischarge is an identity provider that authenticates against Ubuntu SSO using Ubuntu SSO's macaroon protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIdentityProvider ¶
func NewIdentityProvider(p Params) (idp.IdentityProvider, error)
NewIdentityProvider creates an idp.IdentityProvider that uses Ubuntu SSO macaroon authentication, with the configuration defined by p.
Types ¶
type Params ¶
type Params struct {
// Domain will be appended to any usernames or groups provided by
// the identity provider. A user created by this identity provide
// will be openid@domain.
Domain string `yaml:"domain"`
// URL is the address of the Ubuntu SSO server.
URL string `yaml:"url"`
// PublicKey is the RSA public key used to encrypt caveats for
// UbuntuSSO third party caveats.
PublicKey PublicKey `yaml:"public-key"`
}
Params holds the parameters to use with UbuntuSSO macaroon identity providers.
Click to show internal directories.
Click to hide internal directories.