Versions in this module Expand all Collapse all v0 v0.6.3 Nov 12, 2018 v0.6.2 Nov 6, 2018 Changes in this version type JwtProvider + PayloadInMetadata string + func (m *JwtProvider) GetPayloadInMetadata() string v0.6.1 Oct 15, 2018 v0.6.0 Sep 25, 2018 v0.5.0 Aug 14, 2018 Changes in this version + var ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") + type JwtAuthentication struct + Providers map[string]*JwtProvider + Rules []*RequirementRule + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*JwtAuthentication) Descriptor() ([]byte, []int) + func (*JwtAuthentication) ProtoMessage() + func (dst *JwtAuthentication) XXX_Merge(src proto.Message) + func (m *JwtAuthentication) GetProviders() map[string]*JwtProvider + func (m *JwtAuthentication) GetRules() []*RequirementRule + func (m *JwtAuthentication) Marshal() (dAtA []byte, err error) + func (m *JwtAuthentication) MarshalTo(dAtA []byte) (int, error) + func (m *JwtAuthentication) Reset() + func (m *JwtAuthentication) Size() (n int) + func (m *JwtAuthentication) String() string + func (m *JwtAuthentication) Unmarshal(dAtA []byte) error + func (m *JwtAuthentication) Validate() error + func (m *JwtAuthentication) XXX_DiscardUnknown() + func (m *JwtAuthentication) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *JwtAuthentication) XXX_Size() int + func (m *JwtAuthentication) XXX_Unmarshal(b []byte) error + type JwtAuthenticationValidationError struct + Cause error + Field string + Key bool + Reason string + func (e JwtAuthenticationValidationError) Error() string + type JwtHeader struct + Name string + ValuePrefix string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*JwtHeader) Descriptor() ([]byte, []int) + func (*JwtHeader) ProtoMessage() + func (dst *JwtHeader) XXX_Merge(src proto.Message) + func (m *JwtHeader) GetName() string + func (m *JwtHeader) GetValuePrefix() string + func (m *JwtHeader) Marshal() (dAtA []byte, err error) + func (m *JwtHeader) MarshalTo(dAtA []byte) (int, error) + func (m *JwtHeader) Reset() + func (m *JwtHeader) Size() (n int) + func (m *JwtHeader) String() string + func (m *JwtHeader) Unmarshal(dAtA []byte) error + func (m *JwtHeader) Validate() error + func (m *JwtHeader) XXX_DiscardUnknown() + func (m *JwtHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *JwtHeader) XXX_Size() int + func (m *JwtHeader) XXX_Unmarshal(b []byte) error + type JwtHeaderValidationError struct + Cause error + Field string + Key bool + Reason string + func (e JwtHeaderValidationError) Error() string + type JwtProvider struct + Audiences []string + Forward bool + ForwardPayloadHeader string + FromHeaders []*JwtHeader + FromParams []string + Issuer string + JwksSourceSpecifier isJwtProvider_JwksSourceSpecifier + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*JwtProvider) Descriptor() ([]byte, []int) + func (*JwtProvider) ProtoMessage() + func (*JwtProvider) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (dst *JwtProvider) XXX_Merge(src proto.Message) + func (m *JwtProvider) GetAudiences() []string + func (m *JwtProvider) GetForward() bool + func (m *JwtProvider) GetForwardPayloadHeader() string + func (m *JwtProvider) GetFromHeaders() []*JwtHeader + func (m *JwtProvider) GetFromParams() []string + func (m *JwtProvider) GetIssuer() string + func (m *JwtProvider) GetJwksSourceSpecifier() isJwtProvider_JwksSourceSpecifier + func (m *JwtProvider) GetLocalJwks() *core.DataSource + func (m *JwtProvider) GetRemoteJwks() *RemoteJwks + func (m *JwtProvider) Marshal() (dAtA []byte, err error) + func (m *JwtProvider) MarshalTo(dAtA []byte) (int, error) + func (m *JwtProvider) Reset() + func (m *JwtProvider) Size() (n int) + func (m *JwtProvider) String() string + func (m *JwtProvider) Unmarshal(dAtA []byte) error + func (m *JwtProvider) Validate() error + func (m *JwtProvider) XXX_DiscardUnknown() + func (m *JwtProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *JwtProvider) XXX_Size() int + func (m *JwtProvider) XXX_Unmarshal(b []byte) error + type JwtProviderValidationError struct + Cause error + Field string + Key bool + Reason string + func (e JwtProviderValidationError) Error() string + type JwtProvider_LocalJwks struct + LocalJwks *core.DataSource + func (m *JwtProvider_LocalJwks) MarshalTo(dAtA []byte) (int, error) + func (m *JwtProvider_LocalJwks) Size() (n int) + type JwtProvider_RemoteJwks struct + RemoteJwks *RemoteJwks + func (m *JwtProvider_RemoteJwks) MarshalTo(dAtA []byte) (int, error) + func (m *JwtProvider_RemoteJwks) Size() (n int) + type JwtRequirement struct + RequiresType isJwtRequirement_RequiresType + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*JwtRequirement) Descriptor() ([]byte, []int) + func (*JwtRequirement) ProtoMessage() + func (*JwtRequirement) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...) + func (dst *JwtRequirement) XXX_Merge(src proto.Message) + func (m *JwtRequirement) GetAllowMissingOrFailed() *types.BoolValue + func (m *JwtRequirement) GetProviderAndAudiences() *ProviderWithAudiences + func (m *JwtRequirement) GetProviderName() string + func (m *JwtRequirement) GetRequiresAll() *JwtRequirementAndList + func (m *JwtRequirement) GetRequiresAny() *JwtRequirementOrList + func (m *JwtRequirement) GetRequiresType() isJwtRequirement_RequiresType + func (m *JwtRequirement) Marshal() (dAtA []byte, err error) + func (m *JwtRequirement) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirement) Reset() + func (m *JwtRequirement) Size() (n int) + func (m *JwtRequirement) String() string + func (m *JwtRequirement) Unmarshal(dAtA []byte) error + func (m *JwtRequirement) Validate() error + func (m *JwtRequirement) XXX_DiscardUnknown() + func (m *JwtRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *JwtRequirement) XXX_Size() int + func (m *JwtRequirement) XXX_Unmarshal(b []byte) error + type JwtRequirementAndList struct + Requirements []*JwtRequirement + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*JwtRequirementAndList) Descriptor() ([]byte, []int) + func (*JwtRequirementAndList) ProtoMessage() + func (dst *JwtRequirementAndList) XXX_Merge(src proto.Message) + func (m *JwtRequirementAndList) GetRequirements() []*JwtRequirement + func (m *JwtRequirementAndList) Marshal() (dAtA []byte, err error) + func (m *JwtRequirementAndList) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirementAndList) Reset() + func (m *JwtRequirementAndList) Size() (n int) + func (m *JwtRequirementAndList) String() string + func (m *JwtRequirementAndList) Unmarshal(dAtA []byte) error + func (m *JwtRequirementAndList) Validate() error + func (m *JwtRequirementAndList) XXX_DiscardUnknown() + func (m *JwtRequirementAndList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *JwtRequirementAndList) XXX_Size() int + func (m *JwtRequirementAndList) XXX_Unmarshal(b []byte) error + type JwtRequirementAndListValidationError struct + Cause error + Field string + Key bool + Reason string + func (e JwtRequirementAndListValidationError) Error() string + type JwtRequirementOrList struct + Requirements []*JwtRequirement + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*JwtRequirementOrList) Descriptor() ([]byte, []int) + func (*JwtRequirementOrList) ProtoMessage() + func (dst *JwtRequirementOrList) XXX_Merge(src proto.Message) + func (m *JwtRequirementOrList) GetRequirements() []*JwtRequirement + func (m *JwtRequirementOrList) Marshal() (dAtA []byte, err error) + func (m *JwtRequirementOrList) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirementOrList) Reset() + func (m *JwtRequirementOrList) Size() (n int) + func (m *JwtRequirementOrList) String() string + func (m *JwtRequirementOrList) Unmarshal(dAtA []byte) error + func (m *JwtRequirementOrList) Validate() error + func (m *JwtRequirementOrList) XXX_DiscardUnknown() + func (m *JwtRequirementOrList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *JwtRequirementOrList) XXX_Size() int + func (m *JwtRequirementOrList) XXX_Unmarshal(b []byte) error + type JwtRequirementOrListValidationError struct + Cause error + Field string + Key bool + Reason string + func (e JwtRequirementOrListValidationError) Error() string + type JwtRequirementValidationError struct + Cause error + Field string + Key bool + Reason string + func (e JwtRequirementValidationError) Error() string + type JwtRequirement_AllowMissingOrFailed struct + AllowMissingOrFailed *types.BoolValue + func (m *JwtRequirement_AllowMissingOrFailed) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirement_AllowMissingOrFailed) Size() (n int) + type JwtRequirement_ProviderAndAudiences struct + ProviderAndAudiences *ProviderWithAudiences + func (m *JwtRequirement_ProviderAndAudiences) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirement_ProviderAndAudiences) Size() (n int) + type JwtRequirement_ProviderName struct + ProviderName string + func (m *JwtRequirement_ProviderName) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirement_ProviderName) Size() (n int) + type JwtRequirement_RequiresAll struct + RequiresAll *JwtRequirementAndList + func (m *JwtRequirement_RequiresAll) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirement_RequiresAll) Size() (n int) + type JwtRequirement_RequiresAny struct + RequiresAny *JwtRequirementOrList + func (m *JwtRequirement_RequiresAny) MarshalTo(dAtA []byte) (int, error) + func (m *JwtRequirement_RequiresAny) Size() (n int) + type ProviderWithAudiences struct + Audiences []string + ProviderName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ProviderWithAudiences) Descriptor() ([]byte, []int) + func (*ProviderWithAudiences) ProtoMessage() + func (dst *ProviderWithAudiences) XXX_Merge(src proto.Message) + func (m *ProviderWithAudiences) GetAudiences() []string + func (m *ProviderWithAudiences) GetProviderName() string + func (m *ProviderWithAudiences) Marshal() (dAtA []byte, err error) + func (m *ProviderWithAudiences) MarshalTo(dAtA []byte) (int, error) + func (m *ProviderWithAudiences) Reset() + func (m *ProviderWithAudiences) Size() (n int) + func (m *ProviderWithAudiences) String() string + func (m *ProviderWithAudiences) Unmarshal(dAtA []byte) error + func (m *ProviderWithAudiences) Validate() error + func (m *ProviderWithAudiences) XXX_DiscardUnknown() + func (m *ProviderWithAudiences) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProviderWithAudiences) XXX_Size() int + func (m *ProviderWithAudiences) XXX_Unmarshal(b []byte) error + type ProviderWithAudiencesValidationError struct + Cause error + Field string + Key bool + Reason string + func (e ProviderWithAudiencesValidationError) Error() string + type RemoteJwks struct + CacheDuration *types.Duration + HttpUri *core.HttpUri + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RemoteJwks) Descriptor() ([]byte, []int) + func (*RemoteJwks) ProtoMessage() + func (dst *RemoteJwks) XXX_Merge(src proto.Message) + func (m *RemoteJwks) GetCacheDuration() *types.Duration + func (m *RemoteJwks) GetHttpUri() *core.HttpUri + func (m *RemoteJwks) Marshal() (dAtA []byte, err error) + func (m *RemoteJwks) MarshalTo(dAtA []byte) (int, error) + func (m *RemoteJwks) Reset() + func (m *RemoteJwks) Size() (n int) + func (m *RemoteJwks) String() string + func (m *RemoteJwks) Unmarshal(dAtA []byte) error + func (m *RemoteJwks) Validate() error + func (m *RemoteJwks) XXX_DiscardUnknown() + func (m *RemoteJwks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RemoteJwks) XXX_Size() int + func (m *RemoteJwks) XXX_Unmarshal(b []byte) error + type RemoteJwksValidationError struct + Cause error + Field string + Key bool + Reason string + func (e RemoteJwksValidationError) Error() string + type RequirementRule struct + Match *route.RouteMatch + Requires *JwtRequirement + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*RequirementRule) Descriptor() ([]byte, []int) + func (*RequirementRule) ProtoMessage() + func (dst *RequirementRule) XXX_Merge(src proto.Message) + func (m *RequirementRule) GetMatch() *route.RouteMatch + func (m *RequirementRule) GetRequires() *JwtRequirement + func (m *RequirementRule) Marshal() (dAtA []byte, err error) + func (m *RequirementRule) MarshalTo(dAtA []byte) (int, error) + func (m *RequirementRule) Reset() + func (m *RequirementRule) Size() (n int) + func (m *RequirementRule) String() string + func (m *RequirementRule) Unmarshal(dAtA []byte) error + func (m *RequirementRule) Validate() error + func (m *RequirementRule) XXX_DiscardUnknown() + func (m *RequirementRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RequirementRule) XXX_Size() int + func (m *RequirementRule) XXX_Unmarshal(b []byte) error + type RequirementRuleValidationError struct + Cause error + Field string + Key bool + Reason string + func (e RequirementRuleValidationError) Error() string