jwt

package
v0.18.42 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SoloJwtAuthnPerRoute) Descriptor

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

func (*SoloJwtAuthnPerRoute) GetClaimsToHeaders

func (*SoloJwtAuthnPerRoute) GetClearRouteCache

func (m *SoloJwtAuthnPerRoute) GetClearRouteCache() bool

func (*SoloJwtAuthnPerRoute) GetPayloadInMetadata

func (m *SoloJwtAuthnPerRoute) GetPayloadInMetadata() string

func (*SoloJwtAuthnPerRoute) GetRequirement

func (m *SoloJwtAuthnPerRoute) GetRequirement() string

func (*SoloJwtAuthnPerRoute) ProtoMessage

func (*SoloJwtAuthnPerRoute) ProtoMessage()

func (*SoloJwtAuthnPerRoute) Reset

func (m *SoloJwtAuthnPerRoute) Reset()

func (*SoloJwtAuthnPerRoute) String

func (m *SoloJwtAuthnPerRoute) String() string

func (*SoloJwtAuthnPerRoute) XXX_DiscardUnknown

func (m *SoloJwtAuthnPerRoute) XXX_DiscardUnknown()

func (*SoloJwtAuthnPerRoute) XXX_Marshal

func (m *SoloJwtAuthnPerRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoloJwtAuthnPerRoute) XXX_Merge

func (m *SoloJwtAuthnPerRoute) XXX_Merge(src proto.Message)

func (*SoloJwtAuthnPerRoute) XXX_Size

func (m *SoloJwtAuthnPerRoute) XXX_Size() int

func (*SoloJwtAuthnPerRoute) XXX_Unmarshal

func (m *SoloJwtAuthnPerRoute) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

func (*SoloJwtAuthnPerRoute_ClaimToHeader) GetAppend

func (*SoloJwtAuthnPerRoute_ClaimToHeader) GetClaim

func (*SoloJwtAuthnPerRoute_ClaimToHeader) GetHeader

func (*SoloJwtAuthnPerRoute_ClaimToHeader) ProtoMessage

func (*SoloJwtAuthnPerRoute_ClaimToHeader) ProtoMessage()

func (*SoloJwtAuthnPerRoute_ClaimToHeader) Reset

func (*SoloJwtAuthnPerRoute_ClaimToHeader) String

func (*SoloJwtAuthnPerRoute_ClaimToHeader) XXX_DiscardUnknown

func (m *SoloJwtAuthnPerRoute_ClaimToHeader) XXX_DiscardUnknown()

func (*SoloJwtAuthnPerRoute_ClaimToHeader) XXX_Marshal

func (m *SoloJwtAuthnPerRoute_ClaimToHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoloJwtAuthnPerRoute_ClaimToHeader) XXX_Merge

func (*SoloJwtAuthnPerRoute_ClaimToHeader) XXX_Size

func (*SoloJwtAuthnPerRoute_ClaimToHeader) XXX_Unmarshal

func (m *SoloJwtAuthnPerRoute_ClaimToHeader) XXX_Unmarshal(b []byte) error

type SoloJwtAuthnPerRoute_ClaimToHeaders

type SoloJwtAuthnPerRoute_ClaimToHeaders struct {
	Claims               []*SoloJwtAuthnPerRoute_ClaimToHeader `protobuf:"bytes,1,rep,name=claims,proto3" json:"claims,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) Descriptor

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

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) GetClaims

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) ProtoMessage

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) ProtoMessage()

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) Reset

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) String

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_DiscardUnknown

func (m *SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_DiscardUnknown()

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_Marshal

func (m *SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_Merge

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_Size

func (*SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_Unmarshal

func (m *SoloJwtAuthnPerRoute_ClaimToHeaders) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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