Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccreditationRepresentation ¶
type AccreditationRepresentation struct {
Type *string `json:"type"`
ExpiryDate *string `json:"expiryDate"`
Expired *bool `json:"expired,omitempty"`
Revoked *bool `json:"revoked,omitempty"`
}
AccreditationRepresentation is a representation of an accreditation
type CheckRepresentation ¶
type CheckRepresentation struct {
Type *string `json:"type"`
Nature *string `json:"nature"`
Date *string `json:"date"`
}
CheckRepresentation is a representation of a check
type UserInformationRepresentation ¶
type UserInformationRepresentation struct {
RealmDisplayName *string `json:"realmDisplayName,omitempty"`
Accreditations *[]AccreditationRepresentation `json:"accreditations,omitempty"`
Checks *[]CheckRepresentation `json:"checks,omitempty"`
Actions *[]string `json:"actions,omitempty"`
PendingActions *[]string `json:"pendingActions,omitempty"`
}
UserInformationRepresentation struct
func (*UserInformationRepresentation) SetAccreditations ¶
func (u *UserInformationRepresentation) SetAccreditations(ctx context.Context, attrAccreditations []string, logger keycloakb.Logger)
SetAccreditations sets the user accreditations
func (*UserInformationRepresentation) SetActions ¶
func (u *UserInformationRepresentation) SetActions(availableChecks map[string]bool)
SetActions sets the user actions
func (*UserInformationRepresentation) SetChecks ¶
func (u *UserInformationRepresentation) SetChecks(dbChecks []dto.DBCheck)
SetChecks sets the user checks
Click to show internal directories.
Click to hide internal directories.