Documentation ¶
Index ¶
- Constants
- type AuthorizationCodeClient
- type ClientContext
- type Config
- func (c *Config) AddContext(newClientContext ClientContext) error
- func (c *Config) AddTarget(newTarget Target)
- func (c Config) DeleteTarget(targetName string) error
- func (c Config) GetActiveTarget() *Target
- func (c *Config) GetContext(contextName string) (ClientContext, error)
- func (c Config) GetTarget(targetName string) *Target
- func (c Config) ListTargets() []string
- func (c Config) TargetExists(targetName string) bool
- type FlexInt
- type GrantType
- type HTTPRequestFactory
- type RefreshTokenClient
- type Requester
- type Target
- type Token
- type UnauthenticatedRequestFactory
- type UnauthenticatedRequester
Constants ¶
View Source
const ( RefreshToken = GrantType("refresh_token") AuthCode = GrantType("authorization_code") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationCodeClient ¶
func (AuthorizationCodeClient) RequestToken ¶
type ClientContext ¶
type Config ¶
func (*Config) AddContext ¶
func (c *Config) AddContext(newClientContext ClientContext) error
func (Config) DeleteTarget ¶
func (Config) GetActiveTarget ¶
func (*Config) GetContext ¶
func (c *Config) GetContext(contextName string) (ClientContext, error)
func (Config) ListTargets ¶
func (Config) TargetExists ¶
type HTTPRequestFactory ¶
type RefreshTokenClient ¶
func (RefreshTokenClient) RequestToken ¶
type Target ¶
type Target struct { AuthorizationEndpoint string TokenEndpoint string Name string SkipSSLValidation bool ActiveClientContextName string ClientContexts map[string]struct{} }
func (*Target) AddClientContext ¶
func (t *Target) AddClientContext(newClientContext ClientContext) error
func (Target) ClientContextExists ¶
type UnauthenticatedRequestFactory ¶
type UnauthenticatedRequestFactory struct{}
Click to show internal directories.
Click to hide internal directories.