client

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(url string, timeout time.Duration) (string, error)

GetToken retrieves a token from the device attestation service. GetToken will retry with exponential backoff until timeout

func SetToken

func SetToken(r *http.Request, token string)

SetToken will set the Authorization header for a request

Types

This section is empty.

Jump to

Keyboard shortcuts

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