login

package
v0.1.3-beta Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_login_proto protoreflect.FileDescriptor

Functions

func GetMethod

func GetMethod() string

func GetPrivateKey

func GetPrivateKey() *ecdsa.PrivateKey

func GetPublicKey

func GetPublicKey() *ecdsa.PublicKey

Types

type Jwt

type Jwt struct {
	LoginMethod     string `protobuf:"bytes,1,opt,name=login_method,json=loginMethod,proto3" json:"login_method,omitempty"`
	LoginPrivateKey string `protobuf:"bytes,2,opt,name=login_private_key,json=loginPrivateKey,proto3" json:"login_private_key,omitempty"`
	LoginPublicKey  string `protobuf:"bytes,3,opt,name=login_public_key,json=loginPublicKey,proto3" json:"login_public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Jwt) Descriptor deprecated

func (*Jwt) Descriptor() ([]byte, []int)

Deprecated: Use Jwt.ProtoReflect.Descriptor instead.

func (*Jwt) GetLoginMethod

func (x *Jwt) GetLoginMethod() string

func (*Jwt) GetLoginPrivateKey

func (x *Jwt) GetLoginPrivateKey() string

func (*Jwt) GetLoginPublicKey

func (x *Jwt) GetLoginPublicKey() string

func (*Jwt) ProtoMessage

func (*Jwt) ProtoMessage()

func (*Jwt) ProtoReflect

func (x *Jwt) ProtoReflect() protoreflect.Message

func (*Jwt) Reset

func (x *Jwt) Reset()

func (*Jwt) String

func (x *Jwt) String() string

type Login

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

func NewLogin

func NewLogin() *Login

func (*Login) Init

func (l *Login) Init(b config.Config) error

Jump to

Keyboard shortcuts

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