authToken

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthToken

type AuthToken struct {
}

AuthToken has generating method.

func (*AuthToken) Get

func (*AuthToken) Get(ctx context.Context) string

Get トークンを取得

func (*AuthToken) Valid

func (*AuthToken) Valid(ctx context.Context) bool

Valid トークンが存在するか判定

type AuthTokenClient

type AuthTokenClient interface {
	Get(ctx context.Context) string
	Valid(ctx context.Context) bool
}

AuthTokenClient 認証トークン

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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