Documentation ¶
Index ¶
- func ActiveUserSessions(db *gorm.DB, table string) ([]*model.UserSessionView, error)
- func ChangesQuery(userID string, latestSequence, limit uint64, sortAscending bool, ...) *es_models.SearchQuery
- func DeleteApplicationRefreshTokens(db *gorm.DB, table string, appIDs []string) error
- func DeleteApplicationTokens(db *gorm.DB, table string, appIDs []string) error
- func DeleteExternalIDP(db *gorm.DB, table, externalUserID, idpConfigID string) error
- func DeleteExternalIDPsByUserID(db *gorm.DB, table, userID string) error
- func DeleteNotifyUser(db *gorm.DB, table, userID string) error
- func DeleteRefreshToken(db *gorm.DB, table, tokenID string) error
- func DeleteSessionRefreshTokens(db *gorm.DB, table, agentID, userID string) error
- func DeleteSessionTokens(db *gorm.DB, table, agentID, userID string) error
- func DeleteToken(db *gorm.DB, table, tokenID string) error
- func DeleteTokensFromRefreshToken(db *gorm.DB, table, refreshTokenID string) error
- func DeleteUser(db *gorm.DB, table, userID string) error
- func DeleteUserMembership(db *gorm.DB, table, userID, aggregateID, objectID string, ...) error
- func DeleteUserMembershipsByAggregateID(db *gorm.DB, table, aggregateID string) error
- func DeleteUserMembershipsByAggregateIDAndObjectID(db *gorm.DB, table, aggregateID, objectID string) error
- func DeleteUserMembershipsByUserID(db *gorm.DB, table, userID string) error
- func DeleteUserRefreshTokens(db *gorm.DB, table, userID string) error
- func DeleteUserSessions(db *gorm.DB, table, userID string) error
- func DeleteUserTokens(db *gorm.DB, table, userID string) error
- func ExternalIDPByExternalUserIDAndIDPConfigID(db *gorm.DB, table, externalUserID, idpConfigID string) (*model.ExternalIDPView, error)
- func ExternalIDPByExternalUserIDAndIDPConfigIDAndResourceOwner(db *gorm.DB, table, externalUserID, idpConfigID, resourceOwner string) (*model.ExternalIDPView, error)
- func ExternalIDPsByIDPConfigID(db *gorm.DB, table, idpConfigID string) ([]*model.ExternalIDPView, error)
- func ExternalIDPsByIDPConfigIDAndResourceOwner(db *gorm.DB, table, idpConfigID, resourceOwner string) ([]*model.ExternalIDPView, error)
- func ExternalIDPsByIDPConfigIDAndResourceOwners(db *gorm.DB, table, idpConfigID string, resourceOwners []string) ([]*model.ExternalIDPView, error)
- func ExternalIDPsByUserID(db *gorm.DB, table, userID string) ([]*model.ExternalIDPView, error)
- func GetGlobalUserByLoginName(db *gorm.DB, table, loginName string) (*model.UserView, error)
- func IsUserUnique(db *gorm.DB, table, userName, email string) (bool, error)
- func NotifyUserByID(db *gorm.DB, table, userID string) (*model.NotifyUser, error)
- func NotifyUsersByOrgID(db *gorm.DB, table, orgID string) ([]*model.NotifyUser, error)
- func PutExternalIDP(db *gorm.DB, table string, idp *model.ExternalIDPView) error
- func PutExternalIDPs(db *gorm.DB, table string, externalIDPs ...*model.ExternalIDPView) error
- func PutNotifyUser(db *gorm.DB, table string, project *model.NotifyUser) error
- func PutRefreshToken(db *gorm.DB, table string, token *usr_model.RefreshTokenView) error
- func PutRefreshTokens(db *gorm.DB, table string, tokens ...*usr_model.RefreshTokenView) error
- func PutToken(db *gorm.DB, table string, token *usr_model.TokenView) error
- func PutTokens(db *gorm.DB, table string, tokens ...*usr_model.TokenView) error
- func PutUser(db *gorm.DB, table string, user *model.UserView) error
- func PutUserMembership(db *gorm.DB, table string, user *model.UserMembershipView) error
- func PutUserMemberships(db *gorm.DB, table string, users ...*model.UserMembershipView) error
- func PutUserSession(db *gorm.DB, table string, session *model.UserSessionView) error
- func PutUserSessions(db *gorm.DB, table string, sessions ...*model.UserSessionView) error
- func PutUsers(db *gorm.DB, table string, users ...*model.UserView) error
- func RefreshTokenByID(db *gorm.DB, table, tokenID string) (*usr_model.RefreshTokenView, error)
- func RefreshTokensByUserID(db *gorm.DB, table, userID string) ([]*usr_model.RefreshTokenView, error)
- func SearchExternalIDPs(db *gorm.DB, table string, req *usr_model.ExternalIDPSearchRequest) ([]*model.ExternalIDPView, uint64, error)
- func SearchRefreshTokens(db *gorm.DB, table string, req *model.RefreshTokenSearchRequest) ([]*usr_model.RefreshTokenView, uint64, error)
- func SearchUserMemberships(db *gorm.DB, table string, req *usr_model.UserMembershipSearchRequest) ([]*model.UserMembershipView, uint64, error)
- func SearchUsers(db *gorm.DB, table string, req *usr_model.UserSearchRequest) ([]*model.UserView, uint64, error)
- func TokenByID(db *gorm.DB, table, tokenID string) (*usr_model.TokenView, error)
- func TokensByUserID(db *gorm.DB, table, userID string) ([]*usr_model.TokenView, error)
- func UserByID(db *gorm.DB, table, userID string) (*model.UserView, error)
- func UserByIDAndResourceOwner(db *gorm.DB, table, userID, resourceOwner string) (*model.UserView, error)
- func UserByIDQuery(id string, latestSequence uint64) (*es_models.SearchQuery, error)
- func UserByLoginName(db *gorm.DB, table, loginName string) (*model.UserView, error)
- func UserByLoginNameAndResourceOwner(db *gorm.DB, table, loginName, resourceOwner string) (*model.UserView, error)
- func UserByUserName(db *gorm.DB, table, userName string) (*model.UserView, error)
- func UserIDsByDomain(db *gorm.DB, table, orgDomain string) ([]string, error)
- func UserMFAs(db *gorm.DB, table, userID string) ([]*usr_model.MultiFactor, error)
- func UserMembershipByIDs(db *gorm.DB, table, userID, aggregateID, objectID string, ...) (*model.UserMembershipView, error)
- func UserMembershipsByAggregateID(db *gorm.DB, table, aggregateID string) ([]*model.UserMembershipView, error)
- func UserMembershipsByResourceOwner(db *gorm.DB, table, resourceOwner string) ([]*model.UserMembershipView, error)
- func UserMembershipsByUserID(db *gorm.DB, table, userID string) ([]*model.UserMembershipView, error)
- func UserQuery(latestSequence uint64) *es_models.SearchQuery
- func UserSessionByIDs(db *gorm.DB, table, agentID, userID string) (*model.UserSessionView, error)
- func UserSessionsByAgentID(db *gorm.DB, table, agentID string) ([]*model.UserSessionView, error)
- func UserSessionsByUserID(db *gorm.DB, table, userID string) ([]*model.UserSessionView, error)
- func UsersByOrgID(db *gorm.DB, table, orgID string) ([]*model.UserView, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActiveUserSessions ¶ added in v0.107.0
func ChangesQuery ¶ added in v0.119.0
func DeleteApplicationRefreshTokens ¶ added in v1.8.0
func DeleteApplicationTokens ¶ added in v0.93.0
func DeleteExternalIDP ¶ added in v0.87.0
func DeleteExternalIDPsByUserID ¶ added in v0.90.0
func DeleteNotifyUser ¶ added in v0.17.0
func DeleteRefreshToken ¶ added in v1.8.0
func DeleteSessionRefreshTokens ¶ added in v1.8.0
func DeleteSessionTokens ¶ added in v0.93.0
func DeleteTokensFromRefreshToken ¶ added in v1.53.0
func DeleteUserMembership ¶ added in v0.66.0
func DeleteUserMembershipsByAggregateID ¶ added in v0.91.5
func DeleteUserMembershipsByAggregateIDAndObjectID ¶ added in v0.91.5
func DeleteUserMembershipsByUserID ¶ added in v0.90.0
func DeleteUserRefreshTokens ¶ added in v1.8.0
func DeleteUserSessions ¶ added in v0.31.3
func DeleteUserTokens ¶ added in v0.93.0
func ExternalIDPByExternalUserIDAndIDPConfigID ¶ added in v0.87.0
func ExternalIDPByExternalUserIDAndIDPConfigIDAndResourceOwner ¶ added in v0.87.0
func ExternalIDPsByIDPConfigID ¶ added in v0.87.0
func ExternalIDPsByIDPConfigIDAndResourceOwner ¶ added in v0.119.0
func ExternalIDPsByIDPConfigIDAndResourceOwners ¶ added in v0.119.0
func ExternalIDPsByUserID ¶ added in v0.87.0
func GetGlobalUserByLoginName ¶ added in v0.78.0
func NotifyUserByID ¶ added in v0.17.0
func NotifyUsersByOrgID ¶ added in v0.48.0
func PutExternalIDP ¶ added in v0.87.0
func PutExternalIDPs ¶ added in v0.87.0
func PutNotifyUser ¶ added in v0.17.0
func PutRefreshToken ¶ added in v1.8.0
func PutRefreshTokens ¶ added in v1.8.0
func PutUserMembership ¶ added in v0.66.0
func PutUserMemberships ¶ added in v0.66.0
func PutUserSession ¶ added in v0.16.0
func PutUserSessions ¶ added in v0.77.2
func RefreshTokenByID ¶ added in v1.8.0
func RefreshTokensByUserID ¶ added in v1.8.0
func SearchExternalIDPs ¶ added in v0.87.0
func SearchExternalIDPs(db *gorm.DB, table string, req *usr_model.ExternalIDPSearchRequest) ([]*model.ExternalIDPView, uint64, error)
func SearchRefreshTokens ¶ added in v1.8.0
func SearchRefreshTokens(db *gorm.DB, table string, req *model.RefreshTokenSearchRequest) ([]*usr_model.RefreshTokenView, uint64, error)
func SearchUserMemberships ¶ added in v0.66.0
func SearchUserMemberships(db *gorm.DB, table string, req *usr_model.UserMembershipSearchRequest) ([]*model.UserMembershipView, uint64, error)
func SearchUsers ¶
func TokensByUserID ¶ added in v0.93.0
func UserByIDAndResourceOwner ¶ added in v1.34.9
func UserByIDQuery ¶ added in v0.119.0
func UserByIDQuery(id string, latestSequence uint64) (*es_models.SearchQuery, error)
func UserByLoginName ¶ added in v0.26.0
func UserByLoginNameAndResourceOwner ¶ added in v0.87.0
func UserByUserName ¶
func UserIDsByDomain ¶ added in v0.74.4
func UserMembershipByIDs ¶ added in v0.66.0
func UserMembershipByIDs(db *gorm.DB, table, userID, aggregateID, objectID string, membertype usr_model.MemberType) (*model.UserMembershipView, error)
func UserMembershipsByAggregateID ¶ added in v0.66.0
func UserMembershipsByResourceOwner ¶ added in v0.82.4
func UserMembershipsByUserID ¶ added in v1.12.2
func UserQuery ¶ added in v0.119.0
func UserQuery(latestSequence uint64) *es_models.SearchQuery
func UserSessionByIDs ¶ added in v0.16.0
func UserSessionsByAgentID ¶ added in v0.16.0
func UserSessionsByUserID ¶ added in v0.20.0
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.