jwt

package
v1.7.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_extensions_jwt_solo_jwt_authn_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SoloJwtAuthnPerRoute

type SoloJwtAuthnPerRoute struct {
	Requirement     string                                          `protobuf:"bytes,1,opt,name=requirement,proto3" json:"requirement,omitempty"`
	ClaimsToHeaders map[string]*SoloJwtAuthnPerRoute_ClaimToHeaders `` /* 196-byte string literal not displayed */
	// clear the route cache if claims were added to the header
	ClearRouteCache   bool   `protobuf:"varint,3,opt,name=clear_route_cache,json=clearRouteCache,proto3" json:"clear_route_cache,omitempty"`
	PayloadInMetadata string `protobuf:"bytes,4,opt,name=payload_in_metadata,json=payloadInMetadata,proto3" json:"payload_in_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*SoloJwtAuthnPerRoute) Descriptor deprecated

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

Deprecated: Use SoloJwtAuthnPerRoute.ProtoReflect.Descriptor instead.

func (*SoloJwtAuthnPerRoute) GetClaimsToHeaders

func (*SoloJwtAuthnPerRoute) GetClearRouteCache

func (x *SoloJwtAuthnPerRoute) GetClearRouteCache() bool

func (*SoloJwtAuthnPerRoute) GetPayloadInMetadata

func (x *SoloJwtAuthnPerRoute) GetPayloadInMetadata() string

func (*SoloJwtAuthnPerRoute) GetRequirement

func (x *SoloJwtAuthnPerRoute) GetRequirement() string

func (*SoloJwtAuthnPerRoute) Hash added in v1.2.13

func (m *SoloJwtAuthnPerRoute) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*SoloJwtAuthnPerRoute) ProtoMessage

func (*SoloJwtAuthnPerRoute) ProtoMessage()

func (*SoloJwtAuthnPerRoute) ProtoReflect added in v1.6.0

func (x *SoloJwtAuthnPerRoute) ProtoReflect() protoreflect.Message

func (*SoloJwtAuthnPerRoute) Reset

func (x *SoloJwtAuthnPerRoute) Reset()

func (*SoloJwtAuthnPerRoute) String

func (x *SoloJwtAuthnPerRoute) String() string

type SoloJwtAuthnPerRoute_ClaimToHeader

type SoloJwtAuthnPerRoute_ClaimToHeader struct {
	Claim  string `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"`
	Header string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	Append bool   `protobuf:"varint,3,opt,name=append,proto3" json:"append,omitempty"`
	// contains filtered or unexported fields
}

If this is specified, one of the claims will be copied to a header and the route cache will be cleared.

func (*SoloJwtAuthnPerRoute_ClaimToHeader) Descriptor deprecated

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

Deprecated: Use SoloJwtAuthnPerRoute_ClaimToHeader.ProtoReflect.Descriptor instead.

func (*SoloJwtAuthnPerRoute_ClaimToHeader) GetAppend

func (*SoloJwtAuthnPerRoute_ClaimToHeader) GetClaim

func (*SoloJwtAuthnPerRoute_ClaimToHeader) GetHeader

func (*SoloJwtAuthnPerRoute_ClaimToHeader) Hash added in v1.2.13

Hash function

func (*SoloJwtAuthnPerRoute_ClaimToHeader) ProtoMessage

func (*SoloJwtAuthnPerRoute_ClaimToHeader) ProtoMessage()

func (*SoloJwtAuthnPerRoute_ClaimToHeader) ProtoReflect added in v1.6.0

func (*SoloJwtAuthnPerRoute_ClaimToHeader) Reset

func (*SoloJwtAuthnPerRoute_ClaimToHeader) String

type SoloJwtAuthnPerRoute_ClaimToHeaders

type SoloJwtAuthnPerRoute_ClaimToHeaders struct {
	Claims []*SoloJwtAuthnPerRoute_ClaimToHeader `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims,omitempty"`
	// contains filtered or unexported fields
}

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) Descriptor deprecated

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

Deprecated: Use SoloJwtAuthnPerRoute_ClaimToHeaders.ProtoReflect.Descriptor instead.

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) GetClaims

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) Hash added in v1.2.13

Hash function

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) ProtoMessage

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) ProtoMessage()

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) ProtoReflect added in v1.6.0

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) Reset

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) String

Jump to

Keyboard shortcuts

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