login

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type InBody

type InBody struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

type Login

type Login struct {
	httpx.MethodPut
	InBody `in:"body"`
}

func (*Login) Output

func (r *Login) Output(ctx context.Context) (interface{}, error)

func (*Login) Path

func (r *Login) Path() string

type Response

type Response struct {
	AccountID types.SFID     `json:"accountID"`
	Token     string         `json:"token"`
	ExpireAt  base.Timestamp `json:"expireAt"`
	Issuer    string         `json:"issuer"`
}

Jump to

Keyboard shortcuts

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