auth

package
v0.0.0-...-42c4776 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Create

type Create interface {
	Do(context.Context, CreateTokenData) (auth.UserToken, error)
}

func NewCreate

func NewCreate(r auth.Repository, ur du.Repository) Create

type CreateTokenData

type CreateTokenData struct {
	Identifier string `json:"identifier"`
	Secret     string `json:"secret"`
}

Jump to

Keyboard shortcuts

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