devtoken

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 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 AuthOption

type AuthOption struct {
	DevToken     string
	DevUserID    uint64
	DevAccountID uint64
}

AuthOption to access to default user

type Authorizer

type Authorizer struct {
	// contains filtered or unexported fields
}

func NewAuthorizer

func NewAuthorizer(opts *AuthOption) *Authorizer

func (*Authorizer) Authorize

func (*Authorizer) AuthorizerCode

func (au *Authorizer) AuthorizerCode() string

Jump to

Keyboard shortcuts

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