auth

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(ctx context.Context, meta interface{}) (string, error)

GetToken is a convenience function used by provider code to extract retrieve.TokenRetrieveFuncCtx from the meta argument passed-in by terraform and execute it with the context ctx

func SetScmClientToken

func SetScmClientToken(ctx *context.Context, meta interface{})

SetScmClientToken fetches and sets the token in context for scm client. Provided the client id and secret in provider

Types

This section is empty.

Jump to

Keyboard shortcuts

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