interfaces

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthToken

type AuthToken struct {
	Token     string
	ExpiresOn time.Time
}

type AuthTokenProvider

type AuthTokenProvider interface {
	FetchToken(ctx context.Context) (AuthToken, error)
}

type AuthTokenWriter

type AuthTokenWriter interface {
	WriteToken(token AuthToken) error
}

Jump to

Keyboard shortcuts

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