Documentation ¶
Index ¶
- func AddScopedIClaimsPrincipal(builder *di.Builder)
- func ClaimsPrincipalFromClaimsMap(claimsMap map[string]interface{}) claimsprincipalContracts.IClaimsPrincipal
- func NewIClaimsPrincipal() claimsprincipalContracts.IClaimsPrincipal
- type EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapAND(fullMethodName string, claims ...claimsprincipalContracts.Claim) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapANDTYPE(fullMethodName string, claimTypes ...string) *EntryPointClaimsBuilder
- func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapOR(fullMethodName string, claims ...claimsprincipalContracts.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{}) claimsprincipalContracts.IClaimsPrincipal
ClaimsPrincipalFromClaimsMap ...
func NewIClaimsPrincipal ¶ added in v0.1.128
func NewIClaimsPrincipal() claimsprincipalContracts.IClaimsPrincipal
NewIClaimsPrincipal for outside of the DI
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) WithGrpcEntrypointPermissionsClaimsMapAND ¶ added in v0.1.155
func (s *EntryPointClaimsBuilder) WithGrpcEntrypointPermissionsClaimsMapAND(fullMethodName string, claims ...claimsprincipalContracts.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 ...claimsprincipalContracts.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
Click to show internal directories.
Click to hide internal directories.