Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddClaimsPrincipal ¶
ClaimsPrincipal adds service to the DI container
Types ¶
type IClaimsPrincipal ¶
type IClaimsPrincipal interface { GetClaims() []Claim HasClaim(claim Claim) bool AddClaim(claim Claim) RemoveClaim(claim Claim) }
func GetClaimsPrincipalFromContainer ¶
func GetClaimsPrincipalFromContainer(ctn di.Container) IClaimsPrincipal
GetClaimsPrincipalFromContainer from the Container
Click to show internal directories.
Click to hide internal directories.