commons

package
v0.0.0-...-35b844d Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthTypeWebOauth = "weboauth"
	AuthTypeBase     = "base"
)
View Source
const (
	AuthProviderYouAuth = "youauth"
	AuthProviderYouPlus = "YouPlusService"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	Name string `json:"name"`
	Type string `json:"type"`
	Url  string `json:"url"`
}

type AuthUser

type AuthUser interface {
}

type CacheableAuthUser

type CacheableAuthUser interface {
	Serialize() ([]byte, error)
	Deserialize(d []byte) (*AuthUser, error)
}

Jump to

Keyboard shortcuts

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