Documentation
¶
Index ¶
- func NewSparql(repo *sparql.Repo) oauthenticator.Provider
- type OAuthConfig
- func (c *OAuthConfig) Config() *oauth2.Config
- func (c *OAuthConfig) Endpoint() oauth2.Endpoint
- func (c *OAuthConfig) Identifier() string
- func (c *OAuthConfig) Label() string
- func (c *OAuthConfig) Options() []oauth2.AuthCodeOption
- func (c *OAuthConfig) Term() rdf.Term
- func (c *OAuthConfig) Token() oauthenticator.TokenPersistence
- func (c *OAuthConfig) Type() string
- type Queries
- func (q *Queries) GetClientsOfType(repo *sparql.Repo, clientType string) ([]oauthenticator.Config, error)
- func (q *Queries) GetConfig(provider *sparqlProvider, repo *sparql.Repo, client rdf.Term) (*OAuthConfig, error)
- func (q *Queries) GetParams(repo *sparql.Repo, client rdf.Term) ([]oauth2.AuthCodeOption, error)
- func (q *Queries) ReadConfigs(provider *sparqlProvider, repo *sparql.Repo) ([]oauthenticator.Config, error)
- func (q *Queries) ReadToken(repo *sparql.Repo, client rdf.Term) (*oauth2.Token, error)
- func (q *Queries) WriteToken(repo *sparql.Repo, client rdf.Term, t *oauth2.Token) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OAuthConfig ¶
type OAuthConfig struct {
// contains filtered or unexported fields
}
func (*OAuthConfig) Config ¶
func (c *OAuthConfig) Config() *oauth2.Config
func (*OAuthConfig) Endpoint ¶
func (c *OAuthConfig) Endpoint() oauth2.Endpoint
func (*OAuthConfig) Identifier ¶
func (c *OAuthConfig) Identifier() string
func (*OAuthConfig) Label ¶
func (c *OAuthConfig) Label() string
func (*OAuthConfig) Options ¶
func (c *OAuthConfig) Options() []oauth2.AuthCodeOption
func (*OAuthConfig) Term ¶
func (c *OAuthConfig) Term() rdf.Term
func (*OAuthConfig) Token ¶
func (c *OAuthConfig) Token() oauthenticator.TokenPersistence
func (*OAuthConfig) Type ¶
func (c *OAuthConfig) Type() string
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func InitializeQueries ¶
func InitializeQueries() *Queries
func (*Queries) GetClientsOfType ¶
func (*Queries) ReadConfigs ¶
Click to show internal directories.
Click to hide internal directories.