Help us shape the future of Go! Take the 2026 Go Developer Survey

m2m

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2025 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(ctx context.Context, issuerURL, clientID, clientSecret string, scopes []string) (clientcredentials.Config, error)

func GetScopes added in v1.5.2

func GetScopes(hostName string, scopes []string) []string

func GetTokenSource

func GetTokenSource(config clientcredentials.Config) oauth2.TokenSource

func NewAuthenticator

func NewAuthenticator(clientID, clientSecret, hostName string) auth.Authenticator

func NewAuthenticatorWithScopes added in v1.5.2

func NewAuthenticatorWithScopes(clientID, clientSecret, hostName string, scopes []string) auth.Authenticator

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL