Documentation ¶
Index ¶
- Variables
- type AuthorizationCodeSession
- func (*AuthorizationCodeSession) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationCodeSession) GetClient() *v1.Client
- func (x *AuthorizationCodeSession) GetIssuer() string
- func (x *AuthorizationCodeSession) GetRequest() *v11.AuthorizationRequest
- func (x *AuthorizationCodeSession) GetSubject() string
- func (msg *AuthorizationCodeSession) MarshalJSON() ([]byte, error)
- func (m *AuthorizationCodeSession) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AuthorizationCodeSession) MarshalToVT(dAtA []byte) (int, error)
- func (m *AuthorizationCodeSession) MarshalVT() (dAtA []byte, err error)
- func (*AuthorizationCodeSession) ProtoMessage()
- func (x *AuthorizationCodeSession) ProtoReflect() protoreflect.Message
- func (x *AuthorizationCodeSession) Reset()
- func (m *AuthorizationCodeSession) SizeVT() (n int)
- func (x *AuthorizationCodeSession) String() string
- func (msg *AuthorizationCodeSession) UnmarshalJSON(b []byte) error
- func (m *AuthorizationCodeSession) UnmarshalVT(dAtA []byte) error
- type DeviceCodeSession
- func (*DeviceCodeSession) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceCodeSession) GetAudience() string
- func (x *DeviceCodeSession) GetClient() *v1.Client
- func (x *DeviceCodeSession) GetConfirmationCode() string
- func (x *DeviceCodeSession) GetDeviceCode() string
- func (x *DeviceCodeSession) GetExpiresAt() uint64
- func (x *DeviceCodeSession) GetIssuer() string
- func (x *DeviceCodeSession) GetRequest() *v11.DeviceAuthorizationRequest
- func (x *DeviceCodeSession) GetScope() string
- func (x *DeviceCodeSession) GetStatus() DeviceCodeStatus
- func (x *DeviceCodeSession) GetSubject() string
- func (msg *DeviceCodeSession) MarshalJSON() ([]byte, error)
- func (m *DeviceCodeSession) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *DeviceCodeSession) MarshalToVT(dAtA []byte) (int, error)
- func (m *DeviceCodeSession) MarshalVT() (dAtA []byte, err error)
- func (*DeviceCodeSession) ProtoMessage()
- func (x *DeviceCodeSession) ProtoReflect() protoreflect.Message
- func (x *DeviceCodeSession) Reset()
- func (m *DeviceCodeSession) SizeVT() (n int)
- func (x *DeviceCodeSession) String() string
- func (msg *DeviceCodeSession) UnmarshalJSON(b []byte) error
- func (m *DeviceCodeSession) UnmarshalVT(dAtA []byte) error
- type DeviceCodeStatus
- func (DeviceCodeStatus) Descriptor() protoreflect.EnumDescriptor
- func (x DeviceCodeStatus) Enum() *DeviceCodeStatus
- func (DeviceCodeStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeviceCodeStatus) Number() protoreflect.EnumNumber
- func (x DeviceCodeStatus) String() string
- func (DeviceCodeStatus) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DeviceCodeStatus_name = map[int32]string{ 0: "DEVICE_CODE_STATUS_UNSPECIFIED", 1: "DEVICE_CODE_STATUS_UNKNOWN", 2: "DEVICE_CODE_STATUS_AUTHORIZATION_PENDING", 3: "DEVICE_CODE_STATUS_CONFIRMATION_PENDING", 4: "DEVICE_CODE_STATUS_VALIDATED", } DeviceCodeStatus_value = map[string]int32{ "DEVICE_CODE_STATUS_UNSPECIFIED": 0, "DEVICE_CODE_STATUS_UNKNOWN": 1, "DEVICE_CODE_STATUS_AUTHORIZATION_PENDING": 2, "DEVICE_CODE_STATUS_CONFIRMATION_PENDING": 3, "DEVICE_CODE_STATUS_VALIDATED": 4, } )
Enum value maps for DeviceCodeStatus.
View Source
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
View Source
var File_oidc_session_v1_session_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthorizationCodeSession ¶
type AuthorizationCodeSession struct { Client *v1.Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` Request *v11.AuthorizationRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
func (*AuthorizationCodeSession) Descriptor
deprecated
func (*AuthorizationCodeSession) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationCodeSession.ProtoReflect.Descriptor instead.
func (*AuthorizationCodeSession) GetClient ¶
func (x *AuthorizationCodeSession) GetClient() *v1.Client
func (*AuthorizationCodeSession) GetIssuer ¶
func (x *AuthorizationCodeSession) GetIssuer() string
func (*AuthorizationCodeSession) GetRequest ¶
func (x *AuthorizationCodeSession) GetRequest() *v11.AuthorizationRequest
func (*AuthorizationCodeSession) GetSubject ¶
func (x *AuthorizationCodeSession) GetSubject() string
func (*AuthorizationCodeSession) MarshalJSON ¶
func (msg *AuthorizationCodeSession) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*AuthorizationCodeSession) MarshalToSizedBufferVT ¶
func (m *AuthorizationCodeSession) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AuthorizationCodeSession) MarshalToVT ¶
func (m *AuthorizationCodeSession) MarshalToVT(dAtA []byte) (int, error)
func (*AuthorizationCodeSession) MarshalVT ¶
func (m *AuthorizationCodeSession) MarshalVT() (dAtA []byte, err error)
func (*AuthorizationCodeSession) ProtoMessage ¶
func (*AuthorizationCodeSession) ProtoMessage()
func (*AuthorizationCodeSession) ProtoReflect ¶
func (x *AuthorizationCodeSession) ProtoReflect() protoreflect.Message
func (*AuthorizationCodeSession) Reset ¶
func (x *AuthorizationCodeSession) Reset()
func (*AuthorizationCodeSession) SizeVT ¶
func (m *AuthorizationCodeSession) SizeVT() (n int)
func (*AuthorizationCodeSession) String ¶
func (x *AuthorizationCodeSession) String() string
func (*AuthorizationCodeSession) UnmarshalJSON ¶
func (msg *AuthorizationCodeSession) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*AuthorizationCodeSession) UnmarshalVT ¶
func (m *AuthorizationCodeSession) UnmarshalVT(dAtA []byte) error
type DeviceCodeSession ¶
type DeviceCodeSession struct { Client *v1.Client `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` ExpiresAt uint64 `protobuf:"fixed64,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` Request *v11.DeviceAuthorizationRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"` Status DeviceCodeStatus `protobuf:"varint,5,opt,name=status,proto3,enum=oidc.session.v1.DeviceCodeStatus" json:"status,omitempty"` DeviceCode string `protobuf:"bytes,6,opt,name=device_code,json=deviceCode,proto3" json:"device_code,omitempty"` ConfirmationCode string `protobuf:"bytes,7,opt,name=confirmation_code,json=confirmationCode,proto3" json:"confirmation_code,omitempty"` Subject *string `protobuf:"bytes,8,opt,name=subject,proto3,oneof" json:"subject,omitempty"` Scope *string `protobuf:"bytes,9,opt,name=scope,proto3,oneof" json:"scope,omitempty"` Audience *string `protobuf:"bytes,10,opt,name=audience,proto3,oneof" json:"audience,omitempty"` // contains filtered or unexported fields }
func (*DeviceCodeSession) Descriptor
deprecated
func (*DeviceCodeSession) Descriptor() ([]byte, []int)
Deprecated: Use DeviceCodeSession.ProtoReflect.Descriptor instead.
func (*DeviceCodeSession) GetAudience ¶
func (x *DeviceCodeSession) GetAudience() string
func (*DeviceCodeSession) GetClient ¶
func (x *DeviceCodeSession) GetClient() *v1.Client
func (*DeviceCodeSession) GetConfirmationCode ¶
func (x *DeviceCodeSession) GetConfirmationCode() string
func (*DeviceCodeSession) GetDeviceCode ¶
func (x *DeviceCodeSession) GetDeviceCode() string
func (*DeviceCodeSession) GetExpiresAt ¶
func (x *DeviceCodeSession) GetExpiresAt() uint64
func (*DeviceCodeSession) GetIssuer ¶
func (x *DeviceCodeSession) GetIssuer() string
func (*DeviceCodeSession) GetRequest ¶
func (x *DeviceCodeSession) GetRequest() *v11.DeviceAuthorizationRequest
func (*DeviceCodeSession) GetScope ¶
func (x *DeviceCodeSession) GetScope() string
func (*DeviceCodeSession) GetStatus ¶
func (x *DeviceCodeSession) GetStatus() DeviceCodeStatus
func (*DeviceCodeSession) GetSubject ¶
func (x *DeviceCodeSession) GetSubject() string
func (*DeviceCodeSession) MarshalJSON ¶
func (msg *DeviceCodeSession) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*DeviceCodeSession) MarshalToSizedBufferVT ¶
func (m *DeviceCodeSession) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*DeviceCodeSession) MarshalToVT ¶
func (m *DeviceCodeSession) MarshalToVT(dAtA []byte) (int, error)
func (*DeviceCodeSession) MarshalVT ¶
func (m *DeviceCodeSession) MarshalVT() (dAtA []byte, err error)
func (*DeviceCodeSession) ProtoMessage ¶
func (*DeviceCodeSession) ProtoMessage()
func (*DeviceCodeSession) ProtoReflect ¶
func (x *DeviceCodeSession) ProtoReflect() protoreflect.Message
func (*DeviceCodeSession) Reset ¶
func (x *DeviceCodeSession) Reset()
func (*DeviceCodeSession) SizeVT ¶
func (m *DeviceCodeSession) SizeVT() (n int)
func (*DeviceCodeSession) String ¶
func (x *DeviceCodeSession) String() string
func (*DeviceCodeSession) UnmarshalJSON ¶
func (msg *DeviceCodeSession) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*DeviceCodeSession) UnmarshalVT ¶
func (m *DeviceCodeSession) UnmarshalVT(dAtA []byte) error
type DeviceCodeStatus ¶
type DeviceCodeStatus int32
const ( DeviceCodeStatus_DEVICE_CODE_STATUS_UNSPECIFIED DeviceCodeStatus = 0 DeviceCodeStatus_DEVICE_CODE_STATUS_UNKNOWN DeviceCodeStatus = 1 DeviceCodeStatus_DEVICE_CODE_STATUS_AUTHORIZATION_PENDING DeviceCodeStatus = 2 DeviceCodeStatus_DEVICE_CODE_STATUS_CONFIRMATION_PENDING DeviceCodeStatus = 3 DeviceCodeStatus_DEVICE_CODE_STATUS_VALIDATED DeviceCodeStatus = 4 )
func (DeviceCodeStatus) Descriptor ¶
func (DeviceCodeStatus) Descriptor() protoreflect.EnumDescriptor
func (DeviceCodeStatus) Enum ¶
func (x DeviceCodeStatus) Enum() *DeviceCodeStatus
func (DeviceCodeStatus) EnumDescriptor
deprecated
func (DeviceCodeStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeviceCodeStatus.Descriptor instead.
func (DeviceCodeStatus) Number ¶
func (x DeviceCodeStatus) Number() protoreflect.EnumNumber
func (DeviceCodeStatus) String ¶
func (x DeviceCodeStatus) String() string
func (DeviceCodeStatus) Type ¶
func (DeviceCodeStatus) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.