Documentation ¶
Index ¶
- Variables
- type OpenIDState
- func (*OpenIDState) Descriptor() ([]byte, []int)deprecated
- func (x *OpenIDState) GetAdditionalScopes() []string
- func (x *OpenIDState) GetCodeVerifier() string
- func (x *OpenIDState) GetDestHost() string
- func (x *OpenIDState) GetDestPath() string
- func (x *OpenIDState) GetNonce() []byte
- func (x *OpenIDState) GetSessionId() []byte
- func (*OpenIDState) ProtoMessage()
- func (x *OpenIDState) ProtoReflect() protoreflect.Message
- func (x *OpenIDState) Reset()
- func (x *OpenIDState) String() string
- type SessionCookie
- func (*SessionCookie) Descriptor() ([]byte, []int)deprecated
- func (x *SessionCookie) GetKeyset() []byte
- func (x *SessionCookie) GetSessionId() []byte
- func (*SessionCookie) ProtoMessage()
- func (x *SessionCookie) ProtoReflect() protoreflect.Message
- func (x *SessionCookie) Reset()
- func (x *SessionCookie) String() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type OpenIDState ¶
type OpenIDState struct { SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // the future session ID (must not exist yet) Nonce []byte `protobuf:"bytes,2,opt,name=nonce,proto3" json:"nonce,omitempty"` // random string used as `nonce` in the protocol CodeVerifier string `protobuf:"bytes,3,opt,name=code_verifier,json=codeVerifier,proto3" json:"code_verifier,omitempty"` // random string used in PKCE protocol DestHost string `protobuf:"bytes,4,opt,name=dest_host,json=destHost,proto3" json:"dest_host,omitempty"` // the destination redirect host DestPath string `protobuf:"bytes,5,opt,name=dest_path,json=destPath,proto3" json:"dest_path,omitempty"` // the destination redirect path // the scopes that were requested in the authorization request, in addition // to the default scopes (openid email profile). AdditionalScopes []string `protobuf:"bytes,6,rep,name=additional_scopes,json=additionalScopes,proto3" json:"additional_scopes,omitempty"` // contains filtered or unexported fields }
OpenIDState is encrypted and used as `state` in OpenID Connect protocol.
func (*OpenIDState) Descriptor
deprecated
func (*OpenIDState) Descriptor() ([]byte, []int)
Deprecated: Use OpenIDState.ProtoReflect.Descriptor instead.
func (*OpenIDState) GetAdditionalScopes ¶
func (x *OpenIDState) GetAdditionalScopes() []string
func (*OpenIDState) GetCodeVerifier ¶
func (x *OpenIDState) GetCodeVerifier() string
func (*OpenIDState) GetDestHost ¶
func (x *OpenIDState) GetDestHost() string
func (*OpenIDState) GetDestPath ¶
func (x *OpenIDState) GetDestPath() string
func (*OpenIDState) GetNonce ¶
func (x *OpenIDState) GetNonce() []byte
func (*OpenIDState) GetSessionId ¶
func (x *OpenIDState) GetSessionId() []byte
func (*OpenIDState) ProtoMessage ¶
func (*OpenIDState) ProtoMessage()
func (*OpenIDState) ProtoReflect ¶
func (x *OpenIDState) ProtoReflect() protoreflect.Message
func (*OpenIDState) Reset ¶
func (x *OpenIDState) Reset()
func (*OpenIDState) String ¶
func (x *OpenIDState) String() string
type SessionCookie ¶
type SessionCookie struct { SessionId []byte `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` Keyset []byte `protobuf:"bytes,2,opt,name=keyset,proto3" json:"keyset,omitempty"` // serialized google.crypto.tink.Keyset with AEAD keys // contains filtered or unexported fields }
SessionCookie is a clear-text representation of a session cookie.
It contains the session ID and the per-session keyset used to encrypt the sensitive part of the session stored in the Private proto.
func (*SessionCookie) Descriptor
deprecated
func (*SessionCookie) Descriptor() ([]byte, []int)
Deprecated: Use SessionCookie.ProtoReflect.Descriptor instead.
func (*SessionCookie) GetKeyset ¶
func (x *SessionCookie) GetKeyset() []byte
func (*SessionCookie) GetSessionId ¶
func (x *SessionCookie) GetSessionId() []byte
func (*SessionCookie) ProtoMessage ¶
func (*SessionCookie) ProtoMessage()
func (*SessionCookie) ProtoReflect ¶
func (x *SessionCookie) ProtoReflect() protoreflect.Message
func (*SessionCookie) Reset ¶
func (x *SessionCookie) Reset()
func (*SessionCookie) String ¶
func (x *SessionCookie) String() string
Click to show internal directories.
Click to hide internal directories.