Documentation
¶
Index ¶
- type ClientCredentialsDetails
- type ClientPasswordDetails
- type DeviceDetails
- type FunctionTokenSource
- type KubernetesDetails
- type PKCEDetails
- type TokenCredentials
- func AuthenticateDevice(config DeviceDetails) (*TokenCredentials, error)
- func AuthenticateKubernetes(config KubernetesDetails) (*TokenCredentials, error)
- func AuthenticatePkce(config PKCEDetails) (*TokenCredentials, error)
- func AuthenticateWithClientCredentials(config ClientCredentialsDetails) (*TokenCredentials, error)
- func AuthenticateWithPassword(config ClientPasswordDetails) (*TokenCredentials, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientPasswordDetails ¶
type DeviceDetails ¶ added in v0.1.35
type FunctionTokenSource ¶ added in v0.3.33
type KubernetesDetails ¶ added in v0.3.6
type PKCEDetails ¶
type TokenCredentials ¶
type TokenCredentials struct {
TokenSource oauth2.TokenSource
}
func AuthenticateDevice ¶ added in v0.1.35
func AuthenticateDevice(config DeviceDetails) (*TokenCredentials, error)
func AuthenticateKubernetes ¶ added in v0.3.6
func AuthenticateKubernetes(config KubernetesDetails) (*TokenCredentials, error)
func AuthenticatePkce ¶
func AuthenticatePkce(config PKCEDetails) (*TokenCredentials, error)
func AuthenticateWithClientCredentials ¶
func AuthenticateWithClientCredentials(config ClientCredentialsDetails) (*TokenCredentials, error)
func AuthenticateWithPassword ¶
func AuthenticateWithPassword(config ClientPasswordDetails) (*TokenCredentials, error)
func (*TokenCredentials) GetRequestMetadata ¶
func (*TokenCredentials) RequireTransportSecurity ¶
func (c *TokenCredentials) RequireTransportSecurity() bool
Click to show internal directories.
Click to hide internal directories.