Documentation ¶
Index ¶
- func AddScopedIClaimsPrincipal(builder *di.Builder)
- func ClaimsPrincipalFromClaimsMap(claimsMap map[string]interface{}) contracts_claimsprincipal.IClaimsPrincipal
- func NewBoolClaim(claimType string, value bool) contracts_claimsprincipal.Claim
- func NewClaimFactType(claimType string) *middleware_oidc.ClaimFact
- func NewClaimFactTypeAndValue(claimType string, value string) *middleware_oidc.ClaimFact
- func NewFloat64Claim(claimType string, value float64) contracts_claimsprincipal.Claim
- func NewIClaimsPrincipal() contracts_claimsprincipal.IClaimsPrincipal
- func NewStringClaim(claimType string, value string) contracts_claimsprincipal.Claim
- type EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) AddMetaData(fullMethodName string, metaData map[string]interface{}) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) GetClaimsConfig(fullMethodName string) *middleware_oidc.ClaimsConfig
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimFactsMapAND(fullMethodName string, claimFacts ...*middleware_oidc.ClaimFact) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimFactsMapOR(fullMethodName string, claimFacts ...*middleware_oidc.ClaimFact) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapAND(fullMethodName string, claims ...contracts_core_claimsprincipal.Claim) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapANDTYPE(fullMethodName string, claimTypes ...string) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOR(fullMethodName string, claims ...contracts_core_claimsprincipal.Claim) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapORTYPE(fullMethodName string, claimTypes ...string) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOpen(fullMethodName string) *EntryPointClaimsBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddScopedIClaimsPrincipal ¶ added in v0.1.128
AddScopedIClaimsPrincipal adds service to the DI container
func ClaimsPrincipalFromClaimsMap ¶ added in v0.1.139
func ClaimsPrincipalFromClaimsMap(claimsMap map[string]interface{}) contracts_claimsprincipal.IClaimsPrincipal
ClaimsPrincipalFromClaimsMap ...
func NewBoolClaim ¶ added in v0.1.272
func NewBoolClaim(claimType string, value bool) contracts_claimsprincipal.Claim
NewBoolClaim ...
func NewClaimFactType ¶ added in v0.1.211
func NewClaimFactType(claimType string) *middleware_oidc.ClaimFact
NewClaimFactType ...
func NewClaimFactTypeAndValue ¶ added in v0.1.211
func NewClaimFactTypeAndValue(claimType string, value string) *middleware_oidc.ClaimFact
NewClaimFactTypeAndValue ...
func NewFloat64Claim ¶ added in v0.1.272
func NewFloat64Claim(claimType string, value float64) contracts_claimsprincipal.Claim
NewFloat64Claim ...
func NewIClaimsPrincipal ¶ added in v0.1.128
func NewIClaimsPrincipal() contracts_claimsprincipal.IClaimsPrincipal
NewIClaimsPrincipal for outside of the DI
func NewStringClaim ¶ added in v0.1.272
func NewStringClaim(claimType string, value string) contracts_claimsprincipal.Claim
NewStringClaim ...
Types ¶
type EntryPointClaimsBuilder ¶ added in v0.1.155
type EntryPointClaimsBuilder struct {
GrpcEntrypointClaimsMap map[string]*middleware_oidc.EntryPointConfig
}
EntryPointClaimsBuilder struct
func NewEntryPointClaimsBuilder ¶ added in v0.1.155
func NewEntryPointClaimsBuilder() *EntryPointClaimsBuilder
NewEntryPointClaimsBuilder ...
func (*EntryPointClaimsBuilder) AddMetaData ¶ added in v0.1.219
func (s *EntryPointClaimsBuilder) AddMetaData(fullMethodName string, metaData map[string]interface{}) *EntryPointClaimsBuilder
AddMetaData ...
func (*EntryPointClaimsBuilder) GetClaimsConfig ¶ added in v0.1.215
func (s *EntryPointClaimsBuilder) GetClaimsConfig(fullMethodName string) *middleware_oidc.ClaimsConfig
GetClaimsConfig ...
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimFactsMapAND ¶ added in v0.1.207
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimFactsMapAND(fullMethodName string, claimFacts ...*middleware_oidc.ClaimFact) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimFactsMapAND helper to add a single entrypoint config
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimFactsMapOR ¶ added in v0.1.207
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimFactsMapOR(fullMethodName string, claimFacts ...*middleware_oidc.ClaimFact) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimFactsMapOR helper to add a single entrypoint config
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapAND ¶ added in v0.1.155
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapAND(fullMethodName string, claims ...contracts_core_claimsprincipal.Claim) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimsMapAND helper to add a single entrypoint config
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapANDTYPE ¶ added in v0.1.204
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapANDTYPE(fullMethodName string, claimTypes ...string) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimsMapANDTYPE helper to add a single entrypoint config
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOR ¶ added in v0.1.155
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOR(fullMethodName string, claims ...contracts_core_claimsprincipal.Claim) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimsMapOR helper to add a single entrypoint config
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapORTYPE ¶ added in v0.1.204
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapORTYPE(fullMethodName string, claimTypes ...string) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimsMapORTYPE helper to add a single entrypoint config
func (*EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOpen ¶ added in v0.1.155
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOpen(fullMethodName string) *EntryPointClaimsBuilder
WithGrpcEntrypointPermissionsClaimsMapOpen helper to add a single entrypoint config