auth

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mmesh_protobuf_network_v1_resources_iam_auth_auth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdminToken

type AdminToken struct {
	Email     string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Realm     string `protobuf:"bytes,2,opt,name=realm,proto3" json:"realm,omitempty"`
	Target    string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	Timestamp int64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ExpTime   int64  `protobuf:"varint,5,opt,name=expTime,proto3" json:"expTime,omitempty"`
	// contains filtered or unexported fields
}

func (*AdminToken) Descriptor deprecated

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

Deprecated: Use AdminToken.ProtoReflect.Descriptor instead.

func (*AdminToken) GetEmail

func (x *AdminToken) GetEmail() string

func (*AdminToken) GetExpTime

func (x *AdminToken) GetExpTime() int64

func (*AdminToken) GetRealm

func (x *AdminToken) GetRealm() string

func (*AdminToken) GetTarget

func (x *AdminToken) GetTarget() string

func (*AdminToken) GetTimestamp

func (x *AdminToken) GetTimestamp() int64

func (*AdminToken) ProtoMessage

func (*AdminToken) ProtoMessage()

func (*AdminToken) ProtoReflect

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

func (*AdminToken) Reset

func (x *AdminToken) Reset()

func (*AdminToken) String

func (x *AdminToken) String() string

type AuthKey

type AuthKey struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthKey) Descriptor deprecated

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

Deprecated: Use AuthKey.ProtoReflect.Descriptor instead.

func (*AuthKey) GetKey

func (x *AuthKey) GetKey() string

func (*AuthKey) ProtoMessage

func (*AuthKey) ProtoMessage()

func (*AuthKey) ProtoReflect

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

func (*AuthKey) Reset

func (x *AuthKey) Reset()

func (*AuthKey) String

func (x *AuthKey) String() string

type AuthObject

type AuthObject struct {
	Realm      string `protobuf:"bytes,1,opt,name=realm,proto3" json:"realm,omitempty"`
	Tenant     string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	Network    string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
	Subnet     string `protobuf:"bytes,4,opt,name=subnet,proto3" json:"subnet,omitempty"`
	Node       string `protobuf:"bytes,5,opt,name=node,proto3" json:"node,omitempty"`
	MMID       string `protobuf:"bytes,6,opt,name=MMID,proto3" json:"MMID,omitempty"`
	Permission int32  `protobuf:"varint,7,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthObject) Descriptor deprecated

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

Deprecated: Use AuthObject.ProtoReflect.Descriptor instead.

func (*AuthObject) GetMMID

func (x *AuthObject) GetMMID() string

func (*AuthObject) GetNetwork

func (x *AuthObject) GetNetwork() string

func (*AuthObject) GetNode

func (x *AuthObject) GetNode() string

func (*AuthObject) GetPermission

func (x *AuthObject) GetPermission() int32

func (*AuthObject) GetRealm

func (x *AuthObject) GetRealm() string

func (*AuthObject) GetSubnet

func (x *AuthObject) GetSubnet() string

func (*AuthObject) GetTenant

func (x *AuthObject) GetTenant() string

func (*AuthObject) ProtoMessage

func (*AuthObject) ProtoMessage()

func (*AuthObject) ProtoReflect

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

func (*AuthObject) Reset

func (x *AuthObject) Reset()

func (*AuthObject) String

func (x *AuthObject) String() string

type AuthToken

type AuthToken struct {
	Subkey1       string   `protobuf:"bytes,1,opt,name=subkey1,proto3" json:"subkey1,omitempty"` // email
	Subkey2       string   `protobuf:"bytes,2,opt,name=subkey2,proto3" json:"subkey2,omitempty"` // realm
	ValidationKey string   `protobuf:"bytes,3,opt,name=validationKey,proto3" json:"validationKey,omitempty"`
	JWT           *jwt.JWT `protobuf:"bytes,4,opt,name=JWT,json=token,proto3" json:"JWT,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthToken) Descriptor deprecated

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

Deprecated: Use AuthToken.ProtoReflect.Descriptor instead.

func (*AuthToken) GetJWT

func (x *AuthToken) GetJWT() *jwt.JWT

func (*AuthToken) GetSubkey1

func (x *AuthToken) GetSubkey1() string

func (*AuthToken) GetSubkey2

func (x *AuthToken) GetSubkey2() string

func (*AuthToken) GetValidationKey

func (x *AuthToken) GetValidationKey() string

func (*AuthToken) ProtoMessage

func (*AuthToken) ProtoMessage()

func (*AuthToken) ProtoReflect

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

func (*AuthToken) Reset

func (x *AuthToken) Reset()

func (*AuthToken) String

func (x *AuthToken) String() string

Jump to

Keyboard shortcuts

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