token

package
v0.0.0-...-af321b4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MPL-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token string

Token implements the credentials provider interface to provide the given string token in the way that Horizon expects authentication.

func (Token) GetRequestMetadata

func (t Token) GetRequestMetadata(ctx context.Context, uri ...string) (map[string]string, error)

func (Token) RequireTransportSecurity

func (t Token) RequireTransportSecurity() bool

Jump to

Keyboard shortcuts

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