bearertoken

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: BSD-3-Clause Imports: 0 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Token

type Token string

Token represents a bearer token, generally sent by a REST client in a Authorization or Cookie header for authentication purposes.

func (Token) MarshalText

func (t Token) MarshalText() ([]byte, error)

func (Token) String

func (t Token) String() string

func (*Token) UnmarshalText

func (t *Token) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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