jwt

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_mmesh_protobuf_common_v1_jwt_jwt_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type JWT

type JWT struct {
	AccessToken      string `protobuf:"bytes,1,opt,name=access_token,proto3" json:"access_token,omitempty"`
	ExpiresIn        int64  `protobuf:"varint,2,opt,name=expires_in,proto3" json:"expires_in,omitempty"`
	RefreshExpiresIn int64  `protobuf:"varint,3,opt,name=refresh_expires_in,proto3" json:"refresh_expires_in,omitempty"`
	RefreshToken     string `protobuf:"bytes,4,opt,name=refresh_token,proto3" json:"refresh_token,omitempty"`
	TokenType        string `protobuf:"bytes,5,opt,name=token_type,proto3" json:"token_type,omitempty"`
	NotBeforePolicy  int64  `protobuf:"varint,6,opt,name=not_before_policy,json=not-before-policy,proto3" json:"not_before_policy,omitempty"`
	SessionState     string `protobuf:"bytes,7,opt,name=session_state,proto3" json:"session_state,omitempty"`
	Scope            string `protobuf:"bytes,8,opt,name=scope,proto3" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

func (*JWT) Descriptor deprecated

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

Deprecated: Use JWT.ProtoReflect.Descriptor instead.

func (*JWT) GetAccessToken

func (x *JWT) GetAccessToken() string

func (*JWT) GetExpiresIn

func (x *JWT) GetExpiresIn() int64

func (*JWT) GetNotBeforePolicy

func (x *JWT) GetNotBeforePolicy() int64

func (*JWT) GetRefreshExpiresIn

func (x *JWT) GetRefreshExpiresIn() int64

func (*JWT) GetRefreshToken

func (x *JWT) GetRefreshToken() string

func (*JWT) GetScope

func (x *JWT) GetScope() string

func (*JWT) GetSessionState

func (x *JWT) GetSessionState() string

func (*JWT) GetTokenType

func (x *JWT) GetTokenType() 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

Jump to

Keyboard shortcuts

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