lib

package
v0.0.0-...-4513a83 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	Token        string  `json:"token"`
	RefreshToken string  `json:"refresh_token"`
	Session      *string `json:"session,omitempty"`
}

type Login

type Login struct {
	Username     string  `json:"username"`
	Password     string  `json:"password"`
	RefreshToken *string `json:"refresh_token"`
	Session      *string `json:"session,omitempty"`
}

func (Login) Type

func (s Login) Type() string

type LoginService

type LoginService interface {
	Authenticate(context.Context, Login) (Authentication, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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