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 ¶
type FunctionTokenSource ¶
type KubernetesDetails ¶
type PKCEDetails ¶
type TokenCredentials ¶
type TokenCredentials struct {
TokenSource oauth2.TokenSource
}
func AuthenticateDevice ¶
func AuthenticateDevice(config DeviceDetails) (*TokenCredentials, error)
func AuthenticateKubernetes ¶
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.