Documentation ¶
Index ¶
- Variables
- type ClusterJWTClaims
- func (*ClusterJWTClaims) Descriptor() ([]byte, []int)
- func (this *ClusterJWTClaims) Equal(that interface{}) bool
- func (m *ClusterJWTClaims) GetClusterID() string
- func (this *ClusterJWTClaims) GoString() string
- func (m *ClusterJWTClaims) Marshal() (dAtA []byte, err error)
- func (m *ClusterJWTClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterJWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterJWTClaims) ProtoMessage()
- func (m *ClusterJWTClaims) Reset()
- func (m *ClusterJWTClaims) Size() (n int)
- func (this *ClusterJWTClaims) String() string
- func (m *ClusterJWTClaims) Unmarshal(dAtA []byte) error
- func (m *ClusterJWTClaims) XXX_DiscardUnknown()
- func (m *ClusterJWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterJWTClaims) XXX_Merge(src proto.Message)
- func (m *ClusterJWTClaims) XXX_Size() int
- func (m *ClusterJWTClaims) XXX_Unmarshal(b []byte) error
- type JWTClaims
- func (*JWTClaims) Descriptor() ([]byte, []int)
- func (this *JWTClaims) Equal(that interface{}) bool
- func (m *JWTClaims) GetAudience() string
- func (m *JWTClaims) GetClusterClaims() *ClusterJWTClaims
- func (m *JWTClaims) GetCustomClaims() isJWTClaims_CustomClaims
- func (m *JWTClaims) GetExpiresAt() int64
- func (m *JWTClaims) GetIssuedAt() int64
- func (m *JWTClaims) GetIssuer() string
- func (m *JWTClaims) GetJTI() string
- func (m *JWTClaims) GetNotBefore() int64
- func (m *JWTClaims) GetScopes() []string
- func (m *JWTClaims) GetServiceClaims() *ServiceJWTClaims
- func (m *JWTClaims) GetSubject() string
- func (m *JWTClaims) GetUserClaims() *UserJWTClaims
- func (this *JWTClaims) GoString() string
- func (m *JWTClaims) Marshal() (dAtA []byte, err error)
- func (m *JWTClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *JWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JWTClaims) ProtoMessage()
- func (m *JWTClaims) Reset()
- func (m *JWTClaims) Size() (n int)
- func (this *JWTClaims) String() string
- func (m *JWTClaims) Unmarshal(dAtA []byte) error
- func (m *JWTClaims) XXX_DiscardUnknown()
- func (m *JWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JWTClaims) XXX_Merge(src proto.Message)
- func (*JWTClaims) XXX_OneofWrappers() []interface{}
- func (m *JWTClaims) XXX_Size() int
- func (m *JWTClaims) XXX_Unmarshal(b []byte) error
- type JWTClaims_ClusterClaims
- func (this *JWTClaims_ClusterClaims) Equal(that interface{}) bool
- func (this *JWTClaims_ClusterClaims) GoString() string
- func (m *JWTClaims_ClusterClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *JWTClaims_ClusterClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *JWTClaims_ClusterClaims) Size() (n int)
- func (this *JWTClaims_ClusterClaims) String() string
- type JWTClaims_ServiceClaims
- func (this *JWTClaims_ServiceClaims) Equal(that interface{}) bool
- func (this *JWTClaims_ServiceClaims) GoString() string
- func (m *JWTClaims_ServiceClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *JWTClaims_ServiceClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *JWTClaims_ServiceClaims) Size() (n int)
- func (this *JWTClaims_ServiceClaims) String() string
- type JWTClaims_UserClaims
- func (this *JWTClaims_UserClaims) Equal(that interface{}) bool
- func (this *JWTClaims_UserClaims) GoString() string
- func (m *JWTClaims_UserClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *JWTClaims_UserClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *JWTClaims_UserClaims) Size() (n int)
- func (this *JWTClaims_UserClaims) String() string
- type ServiceJWTClaims
- func (*ServiceJWTClaims) Descriptor() ([]byte, []int)
- func (this *ServiceJWTClaims) Equal(that interface{}) bool
- func (m *ServiceJWTClaims) GetServiceID() string
- func (this *ServiceJWTClaims) GoString() string
- func (m *ServiceJWTClaims) Marshal() (dAtA []byte, err error)
- func (m *ServiceJWTClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceJWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceJWTClaims) ProtoMessage()
- func (m *ServiceJWTClaims) Reset()
- func (m *ServiceJWTClaims) Size() (n int)
- func (this *ServiceJWTClaims) String() string
- func (m *ServiceJWTClaims) Unmarshal(dAtA []byte) error
- func (m *ServiceJWTClaims) XXX_DiscardUnknown()
- func (m *ServiceJWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceJWTClaims) XXX_Merge(src proto.Message)
- func (m *ServiceJWTClaims) XXX_Size() int
- func (m *ServiceJWTClaims) XXX_Unmarshal(b []byte) error
- type UserJWTClaims
- func (*UserJWTClaims) Descriptor() ([]byte, []int)
- func (this *UserJWTClaims) Equal(that interface{}) bool
- func (m *UserJWTClaims) GetEmail() string
- func (m *UserJWTClaims) GetIsAPIUser() bool
- func (m *UserJWTClaims) GetOrgID() string
- func (m *UserJWTClaims) GetUserID() string
- func (this *UserJWTClaims) GoString() string
- func (m *UserJWTClaims) Marshal() (dAtA []byte, err error)
- func (m *UserJWTClaims) MarshalTo(dAtA []byte) (int, error)
- func (m *UserJWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UserJWTClaims) ProtoMessage()
- func (m *UserJWTClaims) Reset()
- func (m *UserJWTClaims) Size() (n int)
- func (this *UserJWTClaims) String() string
- func (m *UserJWTClaims) Unmarshal(dAtA []byte) error
- func (m *UserJWTClaims) XXX_DiscardUnknown()
- func (m *UserJWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UserJWTClaims) XXX_Merge(src proto.Message)
- func (m *UserJWTClaims) XXX_Size() int
- func (m *UserJWTClaims) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ClusterJWTClaims ¶
type ClusterJWTClaims struct {
ClusterID string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"clusterID"`
}
func (*ClusterJWTClaims) Descriptor ¶
func (*ClusterJWTClaims) Descriptor() ([]byte, []int)
func (*ClusterJWTClaims) Equal ¶
func (this *ClusterJWTClaims) Equal(that interface{}) bool
func (*ClusterJWTClaims) GetClusterID ¶
func (m *ClusterJWTClaims) GetClusterID() string
func (*ClusterJWTClaims) GoString ¶
func (this *ClusterJWTClaims) GoString() string
func (*ClusterJWTClaims) Marshal ¶
func (m *ClusterJWTClaims) Marshal() (dAtA []byte, err error)
func (*ClusterJWTClaims) MarshalToSizedBuffer ¶
func (m *ClusterJWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterJWTClaims) ProtoMessage ¶
func (*ClusterJWTClaims) ProtoMessage()
func (*ClusterJWTClaims) Reset ¶
func (m *ClusterJWTClaims) Reset()
func (*ClusterJWTClaims) Size ¶
func (m *ClusterJWTClaims) Size() (n int)
func (*ClusterJWTClaims) String ¶
func (this *ClusterJWTClaims) String() string
func (*ClusterJWTClaims) Unmarshal ¶
func (m *ClusterJWTClaims) Unmarshal(dAtA []byte) error
func (*ClusterJWTClaims) XXX_DiscardUnknown ¶
func (m *ClusterJWTClaims) XXX_DiscardUnknown()
func (*ClusterJWTClaims) XXX_Marshal ¶
func (m *ClusterJWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterJWTClaims) XXX_Merge ¶
func (m *ClusterJWTClaims) XXX_Merge(src proto.Message)
func (*ClusterJWTClaims) XXX_Size ¶
func (m *ClusterJWTClaims) XXX_Size() int
func (*ClusterJWTClaims) XXX_Unmarshal ¶
func (m *ClusterJWTClaims) XXX_Unmarshal(b []byte) error
type JWTClaims ¶
type JWTClaims struct { Audience string `protobuf:"bytes,1,opt,name=audience,proto3" json:"aud"` ExpiresAt int64 `protobuf:"varint,2,opt,name=expires_at,json=expiresAt,proto3" json:"exp"` JTI string `protobuf:"bytes,3,opt,name=jti,proto3" json:"jti"` IssuedAt int64 `protobuf:"varint,4,opt,name=issued_at,json=issuedAt,proto3" json:"iat"` Issuer string `protobuf:"bytes,5,opt,name=issuer,proto3" json:"iss"` NotBefore int64 `protobuf:"varint,6,opt,name=not_before,json=notBefore,proto3" json:"nbf"` Subject string `protobuf:"bytes,7,opt,name=subject,proto3" json:"sub"` Scopes []string `protobuf:"bytes,8,rep,name=scopes,proto3" json:"scopes,omitempty"` // Types that are valid to be assigned to CustomClaims: // // *JWTClaims_UserClaims // *JWTClaims_ServiceClaims // *JWTClaims_ClusterClaims CustomClaims isJWTClaims_CustomClaims `protobuf_oneof:"custom_claims"` }
func (*JWTClaims) Descriptor ¶
func (*JWTClaims) GetAudience ¶
func (*JWTClaims) GetClusterClaims ¶
func (m *JWTClaims) GetClusterClaims() *ClusterJWTClaims
func (*JWTClaims) GetCustomClaims ¶
func (m *JWTClaims) GetCustomClaims() isJWTClaims_CustomClaims
func (*JWTClaims) GetExpiresAt ¶
func (*JWTClaims) GetIssuedAt ¶
func (*JWTClaims) GetNotBefore ¶
func (*JWTClaims) GetServiceClaims ¶
func (m *JWTClaims) GetServiceClaims() *ServiceJWTClaims
func (*JWTClaims) GetSubject ¶
func (*JWTClaims) GetUserClaims ¶
func (m *JWTClaims) GetUserClaims() *UserJWTClaims
func (*JWTClaims) MarshalToSizedBuffer ¶
func (*JWTClaims) ProtoMessage ¶
func (*JWTClaims) ProtoMessage()
func (*JWTClaims) XXX_DiscardUnknown ¶
func (m *JWTClaims) XXX_DiscardUnknown()
func (*JWTClaims) XXX_Marshal ¶
func (*JWTClaims) XXX_OneofWrappers ¶
func (*JWTClaims) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*JWTClaims) XXX_Unmarshal ¶
type JWTClaims_ClusterClaims ¶
type JWTClaims_ClusterClaims struct {
ClusterClaims *ClusterJWTClaims `protobuf:"bytes,11,opt,name=cluster_claims,json=clusterClaims,proto3,oneof" json:"cluster_claims,omitempty"`
}
func (*JWTClaims_ClusterClaims) Equal ¶
func (this *JWTClaims_ClusterClaims) Equal(that interface{}) bool
func (*JWTClaims_ClusterClaims) GoString ¶
func (this *JWTClaims_ClusterClaims) GoString() string
func (*JWTClaims_ClusterClaims) MarshalTo ¶
func (m *JWTClaims_ClusterClaims) MarshalTo(dAtA []byte) (int, error)
func (*JWTClaims_ClusterClaims) MarshalToSizedBuffer ¶
func (m *JWTClaims_ClusterClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JWTClaims_ClusterClaims) Size ¶
func (m *JWTClaims_ClusterClaims) Size() (n int)
func (*JWTClaims_ClusterClaims) String ¶
func (this *JWTClaims_ClusterClaims) String() string
type JWTClaims_ServiceClaims ¶
type JWTClaims_ServiceClaims struct {
ServiceClaims *ServiceJWTClaims `protobuf:"bytes,10,opt,name=service_claims,json=serviceClaims,proto3,oneof" json:"service_claims,omitempty"`
}
func (*JWTClaims_ServiceClaims) Equal ¶
func (this *JWTClaims_ServiceClaims) Equal(that interface{}) bool
func (*JWTClaims_ServiceClaims) GoString ¶
func (this *JWTClaims_ServiceClaims) GoString() string
func (*JWTClaims_ServiceClaims) MarshalTo ¶
func (m *JWTClaims_ServiceClaims) MarshalTo(dAtA []byte) (int, error)
func (*JWTClaims_ServiceClaims) MarshalToSizedBuffer ¶
func (m *JWTClaims_ServiceClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JWTClaims_ServiceClaims) Size ¶
func (m *JWTClaims_ServiceClaims) Size() (n int)
func (*JWTClaims_ServiceClaims) String ¶
func (this *JWTClaims_ServiceClaims) String() string
type JWTClaims_UserClaims ¶
type JWTClaims_UserClaims struct {
UserClaims *UserJWTClaims `protobuf:"bytes,9,opt,name=user_claims,json=userClaims,proto3,oneof" json:"user_claims,omitempty"`
}
func (*JWTClaims_UserClaims) Equal ¶
func (this *JWTClaims_UserClaims) Equal(that interface{}) bool
func (*JWTClaims_UserClaims) GoString ¶
func (this *JWTClaims_UserClaims) GoString() string
func (*JWTClaims_UserClaims) MarshalTo ¶
func (m *JWTClaims_UserClaims) MarshalTo(dAtA []byte) (int, error)
func (*JWTClaims_UserClaims) MarshalToSizedBuffer ¶
func (m *JWTClaims_UserClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JWTClaims_UserClaims) Size ¶
func (m *JWTClaims_UserClaims) Size() (n int)
func (*JWTClaims_UserClaims) String ¶
func (this *JWTClaims_UserClaims) String() string
type ServiceJWTClaims ¶
type ServiceJWTClaims struct {
ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"serviceID"`
}
func (*ServiceJWTClaims) Descriptor ¶
func (*ServiceJWTClaims) Descriptor() ([]byte, []int)
func (*ServiceJWTClaims) Equal ¶
func (this *ServiceJWTClaims) Equal(that interface{}) bool
func (*ServiceJWTClaims) GetServiceID ¶
func (m *ServiceJWTClaims) GetServiceID() string
func (*ServiceJWTClaims) GoString ¶
func (this *ServiceJWTClaims) GoString() string
func (*ServiceJWTClaims) Marshal ¶
func (m *ServiceJWTClaims) Marshal() (dAtA []byte, err error)
func (*ServiceJWTClaims) MarshalToSizedBuffer ¶
func (m *ServiceJWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceJWTClaims) ProtoMessage ¶
func (*ServiceJWTClaims) ProtoMessage()
func (*ServiceJWTClaims) Reset ¶
func (m *ServiceJWTClaims) Reset()
func (*ServiceJWTClaims) Size ¶
func (m *ServiceJWTClaims) Size() (n int)
func (*ServiceJWTClaims) String ¶
func (this *ServiceJWTClaims) String() string
func (*ServiceJWTClaims) Unmarshal ¶
func (m *ServiceJWTClaims) Unmarshal(dAtA []byte) error
func (*ServiceJWTClaims) XXX_DiscardUnknown ¶
func (m *ServiceJWTClaims) XXX_DiscardUnknown()
func (*ServiceJWTClaims) XXX_Marshal ¶
func (m *ServiceJWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceJWTClaims) XXX_Merge ¶
func (m *ServiceJWTClaims) XXX_Merge(src proto.Message)
func (*ServiceJWTClaims) XXX_Size ¶
func (m *ServiceJWTClaims) XXX_Size() int
func (*ServiceJWTClaims) XXX_Unmarshal ¶
func (m *ServiceJWTClaims) XXX_Unmarshal(b []byte) error
type UserJWTClaims ¶
type UserJWTClaims struct { UserID string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"userID"` OrgID string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"orgID"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` IsAPIUser bool `protobuf:"varint,4,opt,name=is_api_user,json=isApiUser,proto3" json:"isAPIUser"` }
func (*UserJWTClaims) Descriptor ¶
func (*UserJWTClaims) Descriptor() ([]byte, []int)
func (*UserJWTClaims) Equal ¶
func (this *UserJWTClaims) Equal(that interface{}) bool
func (*UserJWTClaims) GetEmail ¶
func (m *UserJWTClaims) GetEmail() string
func (*UserJWTClaims) GetIsAPIUser ¶
func (m *UserJWTClaims) GetIsAPIUser() bool
func (*UserJWTClaims) GetOrgID ¶
func (m *UserJWTClaims) GetOrgID() string
func (*UserJWTClaims) GetUserID ¶
func (m *UserJWTClaims) GetUserID() string
func (*UserJWTClaims) GoString ¶
func (this *UserJWTClaims) GoString() string
func (*UserJWTClaims) Marshal ¶
func (m *UserJWTClaims) Marshal() (dAtA []byte, err error)
func (*UserJWTClaims) MarshalToSizedBuffer ¶
func (m *UserJWTClaims) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UserJWTClaims) ProtoMessage ¶
func (*UserJWTClaims) ProtoMessage()
func (*UserJWTClaims) Reset ¶
func (m *UserJWTClaims) Reset()
func (*UserJWTClaims) Size ¶
func (m *UserJWTClaims) Size() (n int)
func (*UserJWTClaims) String ¶
func (this *UserJWTClaims) String() string
func (*UserJWTClaims) Unmarshal ¶
func (m *UserJWTClaims) Unmarshal(dAtA []byte) error
func (*UserJWTClaims) XXX_DiscardUnknown ¶
func (m *UserJWTClaims) XXX_DiscardUnknown()
func (*UserJWTClaims) XXX_Marshal ¶
func (m *UserJWTClaims) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UserJWTClaims) XXX_Merge ¶
func (m *UserJWTClaims) XXX_Merge(src proto.Message)
func (*UserJWTClaims) XXX_Size ¶
func (m *UserJWTClaims) XXX_Size() int
func (*UserJWTClaims) XXX_Unmarshal ¶
func (m *UserJWTClaims) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.