Documentation ¶
Index ¶
- func Marshal(message proto.Message) ([]byte, error)
- func Unmarshal(data []byte, message proto.Message) error
- type Challenge
- func (*Challenge) Descriptor() ([]byte, []int)
- func (m *Challenge) GetExpiration() int64
- func (m *Challenge) GetIssuedAt() int64
- func (m *Challenge) GetPrincipal() string
- func (m *Challenge) GetSessionId() string
- func (ch *Challenge) IsExpired() bool
- func (*Challenge) ProtoMessage()
- func (m *Challenge) Reset()
- func (m *Challenge) String() string
- func (m *Challenge) XXX_DiscardUnknown()
- func (m *Challenge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Challenge) XXX_Merge(src proto.Message)
- func (m *Challenge) XXX_Size() int
- func (m *Challenge) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Challenge ¶
type Challenge struct { SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` IssuedAt int64 `protobuf:"varint,2,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` Expiration int64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"` Principal string `protobuf:"bytes,4,opt,name=principal,proto3" json:"principal,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Challenge is the authentication challenge to be used by client
func (*Challenge) Descriptor ¶
func (*Challenge) GetExpiration ¶
func (*Challenge) GetIssuedAt ¶
func (*Challenge) GetPrincipal ¶
func (*Challenge) GetSessionId ¶
func (*Challenge) ProtoMessage ¶
func (*Challenge) ProtoMessage()
func (*Challenge) XXX_DiscardUnknown ¶
func (m *Challenge) XXX_DiscardUnknown()
func (*Challenge) XXX_Marshal ¶
func (*Challenge) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.