Versions in this module Expand all Collapse all v1 v1.0.1 May 17, 2020 Changes in this version + func BuildRedirectURL(opEndpoint, opLocalID, claimedID, returnTo, realm string) (string, error) + func Discover(id string) (opEndpoint, opLocalID, claimedID string, err error) + func Normalize(id string) (string, error) + func RedirectURL(id, callbackURL, realm string) (string, error) + func Verify(uri string, cache DiscoveryCache, nonceStore NonceStore) (id string, err error) + type DiscoveredInfo interface + ClaimedID func() string + OpEndpoint func() string + OpLocalID func() string + type DiscoveryCache interface + Get func(id string) DiscoveredInfo + Put func(id string, info DiscoveredInfo) + type Nonce struct + S string + T time.Time + type NonceStore interface + Accept func(endpoint, nonce string) error + type OpenID struct + func NewOpenID(client *http.Client) *OpenID + func (oid *OpenID) Discover(id string) (opEndpoint, opLocalID, claimedID string, err error) + func (oid *OpenID) RedirectURL(id, callbackURL, realm string) (string, error) + func (oid *OpenID) Verify(uri string, cache DiscoveryCache, nonceStore NonceStore) (id string, err error) + type SimpleDiscoveredInfo struct + func (s *SimpleDiscoveredInfo) ClaimedID() string + func (s *SimpleDiscoveredInfo) OpEndpoint() string + func (s *SimpleDiscoveredInfo) OpLocalID() string + type SimpleDiscoveryCache struct + func NewSimpleDiscoveryCache() *SimpleDiscoveryCache + func (s *SimpleDiscoveryCache) Get(id string) DiscoveredInfo + func (s *SimpleDiscoveryCache) Put(id string, info DiscoveredInfo) + type SimpleNonceStore struct + func NewSimpleNonceStore() *SimpleNonceStore + func (d *SimpleNonceStore) Accept(endpoint, nonce string) error + type Xrd struct + Service []*XrdsIdentifier + type XrdsDocument struct + XMLName xml.Name + Xrd *Xrd + type XrdsIdentifier struct + LocalID string + Priority int + Type []string + URI string