Documentation ¶
Index ¶
- type AuthServerCredentials
- type Credentials
- type RepoCredentials
- type Store
- func (s *Store) DeleteAuthServer(asURI url.URL) bool
- func (s *Store) DeleteRepo(repoURI url.URL) bool
- func (s *Store) Flush() error
- func (s *Store) GetAccessToken(asURI url.URL) string
- func (s *Store) GetRPT(repoURI url.URL) string
- func (s *Store) GetRefreshToken(asURI url.URL) string
- func (s *Store) Path() string
- func (s *Store) RepoURIs() ([]url.URL, error)
- func (s *Store) SetAccessToken(asURI url.URL, accessToken, refreshToken string)
- func (s *Store) SetRPT(repoURI url.URL, rpt string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthServerCredentials ¶ added in v0.13.2
type Credentials ¶
type Credentials struct { Repos map[string]*RepoCredentials `yaml:"repos,omitempty"` AuthServers map[string]*AuthServerCredentials `yaml:"authServers,omitempty"` }
type RepoCredentials ¶ added in v0.13.2
type RepoCredentials struct {
RelyingPartyToken string `yaml:"relyingPartyToken,omitempty"`
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DeleteAuthServer ¶ added in v0.13.2
func (*Store) GetAccessToken ¶ added in v0.13.2
func (*Store) GetRefreshToken ¶ added in v0.13.2
func (*Store) SetAccessToken ¶ added in v0.13.2
Click to show internal directories.
Click to hide internal directories.