iam

package
v0.1.0-alpha.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 48 Imported by: 1

Documentation

Index

Constants

View Source
const (
	TypePublisher string = "Publisher"
	TypeStudio    string = "Studio"
	TypeGame      string = "Game"
)
View Source
const ServiceVersion = "7.21.0"

Variables

View Source
var SDKVersion string

Functions

func ClientTokenRefresher

func ClientTokenRefresher(s auth.Session)

func GetUserAgent

func GetUserAgent() string

func NewIamClient

func NewIamClient(configRepository repository.ConfigRepository) *iamclient.JusticeIamService

func NewRefreshTokenSchedulerImpl

func NewRefreshTokenSchedulerImpl() auth.RefreshTokenScheduler

func UserTokenRefresher

func UserTokenRefresher(s auth.Session)

Types

type AuthTokenValidator

type AuthTokenValidator interface {
	Initialize()
	Validate(token string, permission *Permission, namespace *string, userId *string) error
}

func NewTokenValidator

func NewTokenValidator(authService OAuth20Service, refreshInterval time.Duration) AuthTokenValidator

type BansService

type BansService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*BansService) AdminBanUserBulkV3Short

func (*BansService) AdminGetBannedUsersV3Short

func (aaa *BansService) AdminGetBannedUsersV3Short(input *bans.AdminGetBannedUsersV3Params) (*iamclientmodels.ModelGetUserBanV3Response, error)

func (*BansService) AdminGetBansTypeV3Short

func (aaa *BansService) AdminGetBansTypeV3Short(input *bans.AdminGetBansTypeV3Params) (*iamclientmodels.AccountcommonBansV3, error)

func (*BansService) AdminGetBansTypeWithNamespaceV3Short

func (aaa *BansService) AdminGetBansTypeWithNamespaceV3Short(input *bans.AdminGetBansTypeWithNamespaceV3Params) (*iamclientmodels.AccountcommonBansV3, error)

func (*BansService) AdminGetListBanReasonV3Short

func (aaa *BansService) AdminGetListBanReasonV3Short(input *bans.AdminGetListBanReasonV3Params) (*iamclientmodels.AccountcommonBanReasonsV3, error)

func (*BansService) AdminUnbanUserBulkV3Short

func (*BansService) GetAuthSession

func (aaa *BansService) GetAuthSession() auth.Session

func (*BansService) GetBansTypeShort

func (aaa *BansService) GetBansTypeShort(input *bans.GetBansTypeParams) (*iamclientmodels.AccountcommonBans, error)

func (*BansService) GetListBanReasonShort

func (*BansService) UpdateFlightId

func (aaa *BansService) UpdateFlightId(flightId string)

type ClientsConfigV3Service

type ClientsConfigV3Service struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ClientsConfigV3Service) AdminDeleteConfigPermissionsByGroupShort

func (aaa *ClientsConfigV3Service) AdminDeleteConfigPermissionsByGroupShort(input *clients_config_v3.AdminDeleteConfigPermissionsByGroupParams) error

func (*ClientsConfigV3Service) AdminUpdateAvailablePermissionsByModuleShort

func (aaa *ClientsConfigV3Service) AdminUpdateAvailablePermissionsByModuleShort(input *clients_config_v3.AdminUpdateAvailablePermissionsByModuleParams) error

func (*ClientsConfigV3Service) GetAuthSession

func (aaa *ClientsConfigV3Service) GetAuthSession() auth.Session

func (*ClientsConfigV3Service) UpdateFlightId

func (aaa *ClientsConfigV3Service) UpdateFlightId(flightId string)

type ClientsService

type ClientsService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ClientsService) AddClientPermissionShort

func (aaa *ClientsService) AddClientPermissionShort(input *clients.AddClientPermissionParams) error

func (*ClientsService) AdminAddClientPermissionsV3Short

func (aaa *ClientsService) AdminAddClientPermissionsV3Short(input *clients.AdminAddClientPermissionsV3Params) error

func (*ClientsService) AdminBulkUpdateClientsV3Short

func (aaa *ClientsService) AdminBulkUpdateClientsV3Short(input *clients.AdminBulkUpdateClientsV3Params) error

func (*ClientsService) AdminCreateClientV3Short

func (*ClientsService) AdminDeleteClientPermissionV3Short

func (aaa *ClientsService) AdminDeleteClientPermissionV3Short(input *clients.AdminDeleteClientPermissionV3Params) error

func (*ClientsService) AdminDeleteClientV3Short

func (aaa *ClientsService) AdminDeleteClientV3Short(input *clients.AdminDeleteClientV3Params) error

func (*ClientsService) AdminUpdateClientPermissionV3Short

func (aaa *ClientsService) AdminUpdateClientPermissionV3Short(input *clients.AdminUpdateClientPermissionV3Params) error

func (*ClientsService) AdminUpdateClientSecretV3Short

func (aaa *ClientsService) AdminUpdateClientSecretV3Short(input *clients.AdminUpdateClientSecretV3Params) error

func (*ClientsService) AdminUpdateClientV3Short

func (*ClientsService) CreateClientShort

func (*ClientsService) DeleteClientByNamespaceShort

func (aaa *ClientsService) DeleteClientByNamespaceShort(input *clients.DeleteClientByNamespaceParams) error

func (*ClientsService) DeleteClientPermissionShort

func (aaa *ClientsService) DeleteClientPermissionShort(input *clients.DeleteClientPermissionParams) error

func (*ClientsService) DeleteClientShort

func (aaa *ClientsService) DeleteClientShort(input *clients.DeleteClientParams) error

func (*ClientsService) GetAuthSession

func (aaa *ClientsService) GetAuthSession() auth.Session

func (*ClientsService) GetClientShort

func (*ClientsService) GetClientsShort

func (*ClientsService) GetClientsbyNamespaceShort

func (*ClientsService) UpdateClientPermissionShort

func (aaa *ClientsService) UpdateClientPermissionShort(input *clients.UpdateClientPermissionParams) error

func (*ClientsService) UpdateClientSecretShort

func (aaa *ClientsService) UpdateClientSecretShort(input *clients.UpdateClientSecretParams) error

func (*ClientsService) UpdateClientShort

func (*ClientsService) UpdateFlightId

func (aaa *ClientsService) UpdateFlightId(flightId string)

type ConfigService

type ConfigService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ConfigService) AdminGetConfigValueV3Short

func (*ConfigService) GetAuthSession

func (aaa *ConfigService) GetAuthSession() auth.Session

func (*ConfigService) PublicGetConfigValueV3Short

func (*ConfigService) UpdateFlightId

func (aaa *ConfigService) UpdateFlightId(flightId string)

type CountryService

type CountryService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*CountryService) AdminAddCountryBlacklistV3Short

func (aaa *CountryService) AdminAddCountryBlacklistV3Short(input *country.AdminAddCountryBlacklistV3Params) error

func (*CountryService) AdminGetCountryListV3Short

func (aaa *CountryService) AdminGetCountryListV3Short(input *country.AdminGetCountryListV3Params) ([]*iamclientmodels.ModelCountryResponse, error)

func (*CountryService) GetAuthSession

func (aaa *CountryService) GetAuthSession() auth.Session

func (*CountryService) PublicGetCountryListV3Short

func (aaa *CountryService) PublicGetCountryListV3Short(input *country.PublicGetCountryListV3Params) ([]*iamclientmodels.ModelCountryResponse, error)

func (*CountryService) UpdateFlightId

func (aaa *CountryService) UpdateFlightId(flightId string)

type DevicesV4Service

type DevicesV4Service struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*DevicesV4Service) AdminBanDeviceV4Short

func (aaa *DevicesV4Service) AdminBanDeviceV4Short(input *devices_v4.AdminBanDeviceV4Params) error

func (*DevicesV4Service) AdminGenerateReportV4Short

func (aaa *DevicesV4Service) AdminGenerateReportV4Short(input *devices_v4.AdminGenerateReportV4Params) error

func (*DevicesV4Service) AdminGetDeviceBanV4Short

func (*DevicesV4Service) AdminGetDeviceBansV4Short

func (*DevicesV4Service) AdminGetDeviceTypesV4Short

func (*DevicesV4Service) AdminGetDevicesByUserV4Short

func (*DevicesV4Service) AdminGetUserDeviceBansV4Short

func (*DevicesV4Service) AdminUnbanDeviceV4Short

func (aaa *DevicesV4Service) AdminUnbanDeviceV4Short(input *devices_v4.AdminUnbanDeviceV4Params) error

func (*DevicesV4Service) AdminUpdateDeviceBanV4Short

func (aaa *DevicesV4Service) AdminUpdateDeviceBanV4Short(input *devices_v4.AdminUpdateDeviceBanV4Params) error

func (*DevicesV4Service) GetAuthSession

func (aaa *DevicesV4Service) GetAuthSession() auth.Session

func (*DevicesV4Service) UpdateFlightId

func (aaa *DevicesV4Service) UpdateFlightId(flightId string)

type InputValidationsService

type InputValidationsService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*InputValidationsService) AdminResetInputValidationsShort

func (aaa *InputValidationsService) AdminResetInputValidationsShort(input *input_validations.AdminResetInputValidationsParams) error

func (*InputValidationsService) AdminUpdateInputValidationsShort

func (aaa *InputValidationsService) AdminUpdateInputValidationsShort(input *input_validations.AdminUpdateInputValidationsParams) error

func (*InputValidationsService) GetAuthSession

func (aaa *InputValidationsService) GetAuthSession() auth.Session

func (*InputValidationsService) UpdateFlightId

func (aaa *InputValidationsService) UpdateFlightId(flightId string)

type JWTBan

type JWTBan struct {
	Ban     string    `json:"Ban"`
	EndDate time.Time `json:"EndDate"`
}

JWTBan holds information about ban record in JWT

type JWTClaims

type JWTClaims struct {
	Namespace       string          `json:"namespace"`
	DisplayName     string          `json:"display_name"`
	Roles           []string        `json:"roles"`
	NamespaceRoles  []NamespaceRole `json:"namespace_roles"`
	Permissions     []Permission    `json:"permissions"`
	Bans            []JWTBan        `json:"bans"`
	JusticeFlags    int             `json:"jflgs"`
	Scope           string          `json:"scope"`
	Country         string          `json:"country"`
	ClientID        string          `json:"client_id"`
	IsComply        bool            `json:"is_comply"`
	StudioNamespace string          `json:"studio_namespace,omitempty"`
	ExtendNamespace string          `json:"extend_namespace,omitempty"`
	jwt.Claims
}

JWTClaims holds data stored in a JWT access token with additional Justice Flags field

func (*JWTClaims) Validate

func (c *JWTClaims) Validate() error

Validate checks if the JWT is still valid

type NamespaceContext

type NamespaceContext struct {
	Namespace          string `json:"namespace"` // studio namespace + game namespace
	Type               string `json:"type"`      // enum: Publisher, Studio, Game
	PublisherNamespace string `json:"publisherNamespace"`
	StudioNamespace    string `json:"studioNamespace"` // it will be empty when input namespace is publisher namespace
}

type NamespaceRole

type NamespaceRole struct {
	RoleID    string `json:"roleId"`
	Namespace string `json:"namespace"`
}

type OAuth20ExtensionService

type OAuth20ExtensionService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*OAuth20ExtensionService) GetAuthSession

func (aaa *OAuth20ExtensionService) GetAuthSession() auth.Session

func (*OAuth20ExtensionService) LogoutShort

func (*OAuth20ExtensionService) PlatformAuthenticationV3Short

func (aaa *OAuth20ExtensionService) PlatformAuthenticationV3Short(input *o_auth2_0_extension.PlatformAuthenticationV3Params) (string, error)

func (*OAuth20ExtensionService) UpdateFlightId

func (aaa *OAuth20ExtensionService) UpdateFlightId(flightId string)

func (*OAuth20ExtensionService) UserAuthenticationV3Short

func (aaa *OAuth20ExtensionService) UserAuthenticationV3Short(input *o_auth2_0_extension.UserAuthenticationV3Params) (string, error)

type OAuth20RefreshService

type OAuth20RefreshService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	Token            repository.TokenRepository
}

type OAuth20Service

type OAuth20Service struct {
	Client                 *iamclient.JusticeIamService
	ConfigRepository       repository.ConfigRepository
	TokenRepository        repository.TokenRepository
	RefreshTokenRepository repository.RefreshTokenRepository

	FlightIdRepository *utils.FlightIdContainer
	// contains filtered or unexported fields
}

func (*OAuth20Service) AuthCodeRequestV3Short

func (aaa *OAuth20Service) AuthCodeRequestV3Short(input *o_auth2_0.AuthCodeRequestV3Params) (string, error)

func (*OAuth20Service) Authenticate

func (o *OAuth20Service) Authenticate(requestID, username, password string) (string, error)

func (*OAuth20Service) Authorize

func (o *OAuth20Service) Authorize(scope, challenge, challengeMethod string) (string, error)

func (*OAuth20Service) AuthorizeV3Short

func (aaa *OAuth20Service) AuthorizeV3Short(input *o_auth2_0.AuthorizeV3Params) (string, error)

func (*OAuth20Service) Change2FAMethodShort

func (aaa *OAuth20Service) Change2FAMethodShort(input *o_auth2_0.Change2FAMethodParams) error

func (*OAuth20Service) GetAuthSession

func (aaa *OAuth20Service) GetAuthSession() auth.Session

func (*OAuth20Service) GetJWKSV3Short

func (*OAuth20Service) GetRevocationListV3Short

func (*OAuth20Service) GetToken

func (o *OAuth20Service) GetToken() (string, error)

func (*OAuth20Service) GrantTokenAuthorizationCode

func (o *OAuth20Service) GrantTokenAuthorizationCode(code, codeVerifier, redirectURI string) error

func (*OAuth20Service) GrantTokenCredentials

func (o *OAuth20Service) GrantTokenCredentials(code, codeVerifier string) error

func (*OAuth20Service) GrantTokenRefreshToken

func (o *OAuth20Service) GrantTokenRefreshToken(code, codeVerifier, refreshToken string) error

func (*OAuth20Service) Login

func (o *OAuth20Service) Login(username, password string) error

Login is a custom wrapper used to login with username and password

func (*OAuth20Service) LoginClient

func (o *OAuth20Service) LoginClient(clientId, clientSecret *string) error

LoginClient is a custom wrapper used to log in with clientId and clientSecret

func (*OAuth20Service) LoginOrRefresh

func (o *OAuth20Service) LoginOrRefresh(username, password string) error

func (*OAuth20Service) LoginOrRefreshClient

func (o *OAuth20Service) LoginOrRefreshClient(clientId, clientSecret *string) error

func (*OAuth20Service) LoginOrRefreshWithScope

func (o *OAuth20Service) LoginOrRefreshWithScope(username, password, scope string) error

func (*OAuth20Service) LoginPlatform

func (o *OAuth20Service) LoginPlatform(input *o_auth2_0.PlatformTokenGrantV3Params) error

LoginPlatform is a custom wrapper used to log in with clientId and clientSecret

func (*OAuth20Service) LoginUser

func (o *OAuth20Service) LoginUser(username, password string) error

LoginUser is a custom wrapper used to log in with username and password

func (*OAuth20Service) LoginWithScope

func (o *OAuth20Service) LoginWithScope(username, password, scope string) error

func (*OAuth20Service) Logout

func (o *OAuth20Service) Logout() error

Logout is a custom wrapper used to logout with client service oauth2 revoke

func (*OAuth20Service) ParseAccessToken

func (o *OAuth20Service) ParseAccessToken(accessToken string, validate bool) (*iamclientmodels.OauthmodelTokenResponseV3, error)

func (*OAuth20Service) PlatformTokenGrantV3Short

func (*OAuth20Service) RevokeUserV3Short

func (aaa *OAuth20Service) RevokeUserV3Short(input *o_auth2_0.RevokeUserV3Params) error

func (*OAuth20Service) SendMFAAuthenticationCodeShort

func (aaa *OAuth20Service) SendMFAAuthenticationCodeShort(input *o_auth2_0.SendMFAAuthenticationCodeParams) error

func (*OAuth20Service) SetLocalValidation

func (o *OAuth20Service) SetLocalValidation(value bool)

func (*OAuth20Service) SimultaneousLoginV3Short

func (*OAuth20Service) TokenRevocationV3Short

func (aaa *OAuth20Service) TokenRevocationV3Short(input *o_auth2_0.TokenRevocationV3Params) error

func (*OAuth20Service) UpdateFlightId

func (aaa *OAuth20Service) UpdateFlightId(flightId string)

func (*OAuth20Service) Verify2FACodeShort

func (*OAuth20Service) VerifyTokenV3Short

type OAuth20v4Service

type OAuth20v4Service struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*OAuth20v4Service) GetAuthSession

func (aaa *OAuth20v4Service) GetAuthSession() auth.Session

func (*OAuth20v4Service) PlatformTokenGrantV4Short

func (*OAuth20v4Service) SimultaneousLoginV4Short

func (*OAuth20v4Service) UpdateFlightId

func (aaa *OAuth20v4Service) UpdateFlightId(flightId string)

func (*OAuth20v4Service) Verify2FACodeV4Short

type OAuthService

type OAuthService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*OAuthService) AuthorizationShort

func (aaa *OAuthService) AuthorizationShort(input *o_auth.AuthorizationParams) (string, error)

func (*OAuthService) GetAuthSession

func (aaa *OAuthService) GetAuthSession() auth.Session

func (*OAuthService) GetJWKSShort

func (*OAuthService) GetRevocationListShort

func (*OAuthService) PlatformTokenRequestHandlerShort

func (aaa *OAuthService) PlatformTokenRequestHandlerShort(input *o_auth.PlatformTokenRequestHandlerParams) (*iamclientmodels.OauthmodelTokenResponse, error)

func (*OAuthService) RevokeAUserShort

func (aaa *OAuthService) RevokeAUserShort(input *o_auth.RevokeAUserParams) error

func (*OAuthService) RevokeTokenShort

func (aaa *OAuthService) RevokeTokenShort(input *o_auth.RevokeTokenParams) error

func (*OAuthService) RevokeUserShort

func (aaa *OAuthService) RevokeUserShort(input *o_auth.RevokeUserParams) error

func (*OAuthService) TokenGrantShort

func (*OAuthService) UpdateFlightId

func (aaa *OAuthService) UpdateFlightId(flightId string)

func (*OAuthService) VerifyTokenShort

type OverrideRoleConfigv3Service

type OverrideRoleConfigv3Service struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*OverrideRoleConfigv3Service) GetAuthSession

func (aaa *OverrideRoleConfigv3Service) GetAuthSession() auth.Session

func (*OverrideRoleConfigv3Service) UpdateFlightId

func (aaa *OverrideRoleConfigv3Service) UpdateFlightId(flightId string)

type Permission

type Permission struct {
	Resource        string
	Action          int
	ScheduledAction int      `json:"SchedAction,omitempty"`
	CronSchedule    string   `json:"SchedCron,omitempty"`
	RangeSchedule   []string `json:"SchedRange,omitempty"`
}

type Role

type Role struct {
	RoleID      string `json:"RoleId"`
	RoleName    string
	Permissions []Permission
}

Role holds info about a user role.

type RolesService

type RolesService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*RolesService) AddRoleManagersShort

func (aaa *RolesService) AddRoleManagersShort(input *roles.AddRoleManagersParams) error

func (*RolesService) AddRoleMembersShort

func (aaa *RolesService) AddRoleMembersShort(input *roles.AddRoleMembersParams) error

func (*RolesService) AddRolePermissionShort

func (aaa *RolesService) AddRolePermissionShort(input *roles.AddRolePermissionParams) error

func (*RolesService) AdminAddRoleManagersV3Short

func (aaa *RolesService) AdminAddRoleManagersV3Short(input *roles.AdminAddRoleManagersV3Params) error

func (*RolesService) AdminAddRoleMembersV3Short

func (aaa *RolesService) AdminAddRoleMembersV3Short(input *roles.AdminAddRoleMembersV3Params) error

func (*RolesService) AdminAddRolePermissionsV3Short

func (aaa *RolesService) AdminAddRolePermissionsV3Short(input *roles.AdminAddRolePermissionsV3Params) error

func (*RolesService) AdminAddRolePermissionsV4Short

func (aaa *RolesService) AdminAddRolePermissionsV4Short(input *roles.AdminAddRolePermissionsV4Params) (*iamclientmodels.ModelRoleV4Response, error)

func (*RolesService) AdminAssignUserToRoleV4Short

func (*RolesService) AdminCreateRoleV3Short

func (aaa *RolesService) AdminCreateRoleV3Short(input *roles.AdminCreateRoleV3Params) (*iamclientmodels.AccountcommonRoleV3, error)

func (*RolesService) AdminCreateRoleV4Short

func (aaa *RolesService) AdminCreateRoleV4Short(input *roles.AdminCreateRoleV4Params) (*iamclientmodels.ModelRoleV4Response, error)

func (*RolesService) AdminDeleteRolePermissionV3Short

func (aaa *RolesService) AdminDeleteRolePermissionV3Short(input *roles.AdminDeleteRolePermissionV3Params) error

func (*RolesService) AdminDeleteRolePermissionsV3Short

func (aaa *RolesService) AdminDeleteRolePermissionsV3Short(input *roles.AdminDeleteRolePermissionsV3Params) error

func (*RolesService) AdminDeleteRolePermissionsV4Short

func (aaa *RolesService) AdminDeleteRolePermissionsV4Short(input *roles.AdminDeleteRolePermissionsV4Params) error

func (*RolesService) AdminDeleteRoleV3Short

func (aaa *RolesService) AdminDeleteRoleV3Short(input *roles.AdminDeleteRoleV3Params) error

func (*RolesService) AdminDeleteRoleV4Short

func (aaa *RolesService) AdminDeleteRoleV4Short(input *roles.AdminDeleteRoleV4Params) error

func (*RolesService) AdminGetRoleManagersV3Short

func (*RolesService) AdminGetRoleMembersV3Short

func (*RolesService) AdminGetRoleV3Short

func (aaa *RolesService) AdminGetRoleV3Short(input *roles.AdminGetRoleV3Params) (*iamclientmodels.ModelRoleResponseV3, error)

func (*RolesService) AdminGetRoleV4Short

func (aaa *RolesService) AdminGetRoleV4Short(input *roles.AdminGetRoleV4Params) (*iamclientmodels.ModelRoleV4Response, error)

func (*RolesService) AdminGetRolesV4Short

func (*RolesService) AdminRemoveRoleAdminV3Short

func (aaa *RolesService) AdminRemoveRoleAdminV3Short(input *roles.AdminRemoveRoleAdminV3Params) error

func (*RolesService) AdminRemoveRoleManagersV3Short

func (aaa *RolesService) AdminRemoveRoleManagersV3Short(input *roles.AdminRemoveRoleManagersV3Params) error

func (*RolesService) AdminRemoveRoleMembersV3Short

func (aaa *RolesService) AdminRemoveRoleMembersV3Short(input *roles.AdminRemoveRoleMembersV3Params) error

func (*RolesService) AdminRevokeUserFromRoleV4Short

func (aaa *RolesService) AdminRevokeUserFromRoleV4Short(input *roles.AdminRevokeUserFromRoleV4Params) error

func (*RolesService) AdminUpdateAdminRoleStatusV3Short

func (aaa *RolesService) AdminUpdateAdminRoleStatusV3Short(input *roles.AdminUpdateAdminRoleStatusV3Params) error

func (*RolesService) AdminUpdateRolePermissionsV3Short

func (aaa *RolesService) AdminUpdateRolePermissionsV3Short(input *roles.AdminUpdateRolePermissionsV3Params) error

func (*RolesService) AdminUpdateRolePermissionsV4Short

func (aaa *RolesService) AdminUpdateRolePermissionsV4Short(input *roles.AdminUpdateRolePermissionsV4Params) (*iamclientmodels.ModelRoleV4Response, error)

func (*RolesService) AdminUpdateRoleV3Short

func (aaa *RolesService) AdminUpdateRoleV3Short(input *roles.AdminUpdateRoleV3Params) (*iamclientmodels.ModelRoleResponseV3, error)

func (*RolesService) AdminUpdateRoleV4Short

func (aaa *RolesService) AdminUpdateRoleV4Short(input *roles.AdminUpdateRoleV4Params) (*iamclientmodels.ModelRoleV4Response, error)

func (*RolesService) CreateRoleShort

func (aaa *RolesService) CreateRoleShort(input *roles.CreateRoleParams) (*iamclientmodels.AccountcommonRole, error)

func (*RolesService) DeleteRolePermissionShort

func (aaa *RolesService) DeleteRolePermissionShort(input *roles.DeleteRolePermissionParams) error

func (*RolesService) DeleteRoleShort

func (aaa *RolesService) DeleteRoleShort(input *roles.DeleteRoleParams) error

func (*RolesService) GetAuthSession

func (aaa *RolesService) GetAuthSession() auth.Session

func (*RolesService) GetRoleAdminStatusShort

func (*RolesService) GetRoleManagersShort

func (*RolesService) GetRoleMembersShort

func (*RolesService) GetRoleShort

func (*RolesService) GetRolesShort

func (*RolesService) PublicGetRoleV3Short

func (aaa *RolesService) PublicGetRoleV3Short(input *roles.PublicGetRoleV3Params) (*iamclientmodels.ModelRoleResponse, error)

func (*RolesService) PublicGetRolesV3Short

func (*RolesService) RemoveRoleAdminShort

func (aaa *RolesService) RemoveRoleAdminShort(input *roles.RemoveRoleAdminParams) error

func (*RolesService) RemoveRoleManagersShort

func (aaa *RolesService) RemoveRoleManagersShort(input *roles.RemoveRoleManagersParams) error

func (*RolesService) RemoveRoleMembersShort

func (aaa *RolesService) RemoveRoleMembersShort(input *roles.RemoveRoleMembersParams) error

func (*RolesService) SetRoleAsAdminShort

func (aaa *RolesService) SetRoleAsAdminShort(input *roles.SetRoleAsAdminParams) error

func (*RolesService) UpdateFlightId

func (aaa *RolesService) UpdateFlightId(flightId string)

func (*RolesService) UpdateRolePermissionsShort

func (aaa *RolesService) UpdateRolePermissionsShort(input *roles.UpdateRolePermissionsParams) error

func (*RolesService) UpdateRoleShort

func (aaa *RolesService) UpdateRoleShort(input *roles.UpdateRoleParams) (*iamclientmodels.ModelRoleResponse, error)

type SSOCredentialService

type SSOCredentialService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*SSOCredentialService) DeleteSSOLoginPlatformCredentialV3Short

func (aaa *SSOCredentialService) DeleteSSOLoginPlatformCredentialV3Short(input *sso_credential.DeleteSSOLoginPlatformCredentialV3Params) error

func (*SSOCredentialService) GetAuthSession

func (aaa *SSOCredentialService) GetAuthSession() auth.Session

func (*SSOCredentialService) UpdateFlightId

func (aaa *SSOCredentialService) UpdateFlightId(flightId string)

type SSOSAML20Service

type SSOSAML20Service struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*SSOSAML20Service) GetAuthSession

func (aaa *SSOSAML20Service) GetAuthSession() auth.Session

func (*SSOSAML20Service) PlatformAuthenticateSAMLV3HandlerShort

func (aaa *SSOSAML20Service) PlatformAuthenticateSAMLV3HandlerShort(input *sso_saml_2_0.PlatformAuthenticateSAMLV3HandlerParams) (string, error)

func (*SSOSAML20Service) UpdateFlightId

func (aaa *SSOSAML20Service) UpdateFlightId(flightId string)

type SSOService

type SSOService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*SSOService) GetAuthSession

func (aaa *SSOService) GetAuthSession() auth.Session

func (*SSOService) LoginSSOClientShort

func (aaa *SSOService) LoginSSOClientShort(input *sso.LoginSSOClientParams) error

func (*SSOService) LogoutSSOClientShort

func (aaa *SSOService) LogoutSSOClientShort(input *sso.LogoutSSOClientParams) error

func (*SSOService) UpdateFlightId

func (aaa *SSOService) UpdateFlightId(flightId string)

type ThirdPartyCredentialService

type ThirdPartyCredentialService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformCredentialV3Short

func (aaa *ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformCredentialV3Short(input *third_party_credential.DeleteThirdPartyLoginPlatformCredentialV3Params) error

func (*ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformDomainV3Short

func (aaa *ThirdPartyCredentialService) DeleteThirdPartyLoginPlatformDomainV3Short(input *third_party_credential.DeleteThirdPartyLoginPlatformDomainV3Params) error

func (*ThirdPartyCredentialService) GetAuthSession

func (aaa *ThirdPartyCredentialService) GetAuthSession() auth.Session

func (*ThirdPartyCredentialService) UpdateFlightId

func (aaa *ThirdPartyCredentialService) UpdateFlightId(flightId string)

type TokenValidator

type TokenValidator struct {
	AuthService     OAuth20Service
	RefreshInterval time.Duration

	Filter                *bloom.Filter
	JwkSet                *iamclientmodels.OauthcommonJWKSet
	JwtClaims             JWTClaims
	JwtEncoding           base64.Encoding
	LocalValidationActive bool
	PublicKeys            map[string]*rsa.PublicKey
	RevokedUsers          map[string]time.Time
	Roles                 map[string]*iamclientmodels.ModelRoleResponseV3
	NamespaceContexts     map[string]*NamespaceContext
	// contains filtered or unexported fields
}

func (*TokenValidator) Initialize

func (v *TokenValidator) Initialize()

func (*TokenValidator) Validate

func (v *TokenValidator) Validate(token string, permission *Permission, namespace *string, userId *string) error

type UsersService

type UsersService struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*UsersService) AddUserPermissionShort

func (aaa *UsersService) AddUserPermissionShort(input *users.AddUserPermissionParams) error

func (*UsersService) AddUserRoleShort

func (aaa *UsersService) AddUserRoleShort(input *users.AddUserRoleParams) error

func (*UsersService) AdminAddUserPermissionsV3Short

func (aaa *UsersService) AdminAddUserPermissionsV3Short(input *users.AdminAddUserPermissionsV3Params) error

func (*UsersService) AdminAddUserRoleV3Short

func (aaa *UsersService) AdminAddUserRoleV3Short(input *users.AdminAddUserRoleV3Params) error

func (*UsersService) AdminBanUserV2Short

func (*UsersService) AdminBanUserV3Short

func (*UsersService) AdminBulkUpdateUsersV3Short

func (aaa *UsersService) AdminBulkUpdateUsersV3Short(input *users.AdminBulkUpdateUsersV3Params) error

func (*UsersService) AdminCreateUserRolesV2Short

func (aaa *UsersService) AdminCreateUserRolesV2Short(input *users.AdminCreateUserRolesV2Params) error

func (*UsersService) AdminDeletePlatformLinkV2Short

func (aaa *UsersService) AdminDeletePlatformLinkV2Short(input *users.AdminDeletePlatformLinkV2Params) error

func (*UsersService) AdminDeleteUserInformationV3Short

func (aaa *UsersService) AdminDeleteUserInformationV3Short(input *users.AdminDeleteUserInformationV3Params) error

func (*UsersService) AdminDeleteUserLinkingHistoryByPlatformIDV3Short

func (aaa *UsersService) AdminDeleteUserLinkingHistoryByPlatformIDV3Short(input *users.AdminDeleteUserLinkingHistoryByPlatformIDV3Params) error

func (*UsersService) AdminDeleteUserLinkingRestrictionByPlatformIDV3Short

func (aaa *UsersService) AdminDeleteUserLinkingRestrictionByPlatformIDV3Short(input *users.AdminDeleteUserLinkingRestrictionByPlatformIDV3Params) error

func (*UsersService) AdminDeleteUserPermissionBulkV3Short

func (aaa *UsersService) AdminDeleteUserPermissionBulkV3Short(input *users.AdminDeleteUserPermissionBulkV3Params) error

func (*UsersService) AdminDeleteUserPermissionV3Short

func (aaa *UsersService) AdminDeleteUserPermissionV3Short(input *users.AdminDeleteUserPermissionV3Params) error

func (*UsersService) AdminDeleteUserRoleV3Short

func (aaa *UsersService) AdminDeleteUserRoleV3Short(input *users.AdminDeleteUserRoleV3Params) error

func (*UsersService) AdminDeleteUserRolesV3Short

func (aaa *UsersService) AdminDeleteUserRolesV3Short(input *users.AdminDeleteUserRolesV3Params) error

func (*UsersService) AdminDisableUserV2Short

func (aaa *UsersService) AdminDisableUserV2Short(input *users.AdminDisableUserV2Params) error

func (*UsersService) AdminEnableUserV2Short

func (aaa *UsersService) AdminEnableUserV2Short(input *users.AdminEnableUserV2Params) error

func (*UsersService) AdminGetBulkUserBanV3Short

func (*UsersService) AdminGetBulkUserByEmailAddressV3Short

func (aaa *UsersService) AdminGetBulkUserByEmailAddressV3Short(input *users.AdminGetBulkUserByEmailAddressV3Params) (*iamclientmodels.ModelListUserResponseV3, error)

func (*UsersService) AdminGetListCountryAgeRestrictionV3Short

func (aaa *UsersService) AdminGetListCountryAgeRestrictionV3Short(input *users.AdminGetListCountryAgeRestrictionV3Params) ([]*iamclientmodels.ModelCountryV3Response, error)

func (*UsersService) AdminGetListJusticePlatformAccountsShort

func (aaa *UsersService) AdminGetListJusticePlatformAccountsShort(input *users.AdminGetListJusticePlatformAccountsParams) ([]*iamclientmodels.ModelGetUserMapping, error)

func (*UsersService) AdminGetMyUserV3Short

func (aaa *UsersService) AdminGetMyUserV3Short(input *users.AdminGetMyUserV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) AdminGetUserBanSummaryV3Short

func (aaa *UsersService) AdminGetUserBanSummaryV3Short(input *users.AdminGetUserBanSummaryV3Params) (*iamclientmodels.ModelGetUserBanSummaryV3, error)

func (*UsersService) AdminGetUserBanV2Short

func (aaa *UsersService) AdminGetUserBanV2Short(input *users.AdminGetUserBanV2Params) ([]*iamclientmodels.ModelUserBanResponse, error)

func (*UsersService) AdminGetUserBanV3Short

func (*UsersService) AdminGetUserByEmailAddressV3Short

func (aaa *UsersService) AdminGetUserByEmailAddressV3Short(input *users.AdminGetUserByEmailAddressV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) AdminGetUserByPlatformUserIDV3Short

func (aaa *UsersService) AdminGetUserByPlatformUserIDV3Short(input *users.AdminGetUserByPlatformUserIDV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) AdminGetUserByUserIDV2Short

func (aaa *UsersService) AdminGetUserByUserIDV2Short(input *users.AdminGetUserByUserIDV2Params) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) AdminGetUserByUserIDV3Short

func (aaa *UsersService) AdminGetUserByUserIDV3Short(input *users.AdminGetUserByUserIDV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) AdminGetUserMappingShort

func (aaa *UsersService) AdminGetUserMappingShort(input *users.AdminGetUserMappingParams) (*iamclientmodels.ModelGetUserMappingV3, error)

func (*UsersService) AdminInviteUserV3Short

func (*UsersService) AdminLinkPlatformAccountShort

func (aaa *UsersService) AdminLinkPlatformAccountShort(input *users.AdminLinkPlatformAccountParams) error

func (*UsersService) AdminPlatformLinkV3Short

func (aaa *UsersService) AdminPlatformLinkV3Short(input *users.AdminPlatformLinkV3Params) error

func (*UsersService) AdminPlatformUnlinkAllV3Short

func (aaa *UsersService) AdminPlatformUnlinkAllV3Short(input *users.AdminPlatformUnlinkAllV3Params) error

func (*UsersService) AdminPlatformUnlinkV3Short

func (aaa *UsersService) AdminPlatformUnlinkV3Short(input *users.AdminPlatformUnlinkV3Params) error

func (*UsersService) AdminPutUserRolesV2Short

func (aaa *UsersService) AdminPutUserRolesV2Short(input *users.AdminPutUserRolesV2Params) error

func (*UsersService) AdminResetPasswordV2Short

func (aaa *UsersService) AdminResetPasswordV2Short(input *users.AdminResetPasswordV2Params) error

func (*UsersService) AdminResetPasswordV3Short

func (aaa *UsersService) AdminResetPasswordV3Short(input *users.AdminResetPasswordV3Params) error

func (*UsersService) AdminSaveUserRoleV3Short

func (aaa *UsersService) AdminSaveUserRoleV3Short(input *users.AdminSaveUserRoleV3Params) error

func (*UsersService) AdminSendVerificationCodeV3Short

func (aaa *UsersService) AdminSendVerificationCodeV3Short(input *users.AdminSendVerificationCodeV3Params) error

func (*UsersService) AdminTrustlyUpdateUserIdentityShort

func (aaa *UsersService) AdminTrustlyUpdateUserIdentityShort(input *users.AdminTrustlyUpdateUserIdentityParams) error

func (*UsersService) AdminUpdateCountryAgeRestrictionV3Short

func (aaa *UsersService) AdminUpdateCountryAgeRestrictionV3Short(input *users.AdminUpdateCountryAgeRestrictionV3Params) (*iamclientmodels.ModelCountryV3Response, error)

func (*UsersService) AdminUpdateUserBanV3Short

func (aaa *UsersService) AdminUpdateUserBanV3Short(input *users.AdminUpdateUserBanV3Params) (*iamclientmodels.ModelUserBanResponseV3, error)

func (*UsersService) AdminUpdateUserDeletionStatusV3Short

func (aaa *UsersService) AdminUpdateUserDeletionStatusV3Short(input *users.AdminUpdateUserDeletionStatusV3Params) error

func (*UsersService) AdminUpdateUserPermissionV3Short

func (aaa *UsersService) AdminUpdateUserPermissionV3Short(input *users.AdminUpdateUserPermissionV3Params) error

func (*UsersService) AdminUpdateUserStatusV3Short

func (aaa *UsersService) AdminUpdateUserStatusV3Short(input *users.AdminUpdateUserStatusV3Params) error

func (*UsersService) AdminUpdateUserV2Short

func (aaa *UsersService) AdminUpdateUserV2Short(input *users.AdminUpdateUserV2Params) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) AdminUpdateUserV3Short

func (aaa *UsersService) AdminUpdateUserV3Short(input *users.AdminUpdateUserV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) AdminUpgradeHeadlessAccountV3Short

func (aaa *UsersService) AdminUpgradeHeadlessAccountV3Short(input *users.AdminUpgradeHeadlessAccountV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) AdminVerifyAccountV3Short

func (aaa *UsersService) AdminVerifyAccountV3Short(input *users.AdminVerifyAccountV3Params) error

func (*UsersService) AdminVerifyUserWithoutVerificationCodeV3Short

func (aaa *UsersService) AdminVerifyUserWithoutVerificationCodeV3Short(input *users.AdminVerifyUserWithoutVerificationCodeV3Params) error

func (*UsersService) BanUserShort

func (*UsersService) CheckUserAvailabilityShort

func (aaa *UsersService) CheckUserAvailabilityShort(input *users.CheckUserAvailabilityParams) error

func (*UsersService) CreateUserFromInvitationV3Short

func (aaa *UsersService) CreateUserFromInvitationV3Short(input *users.CreateUserFromInvitationV3Params) (*iamclientmodels.ModelUserCreateResponseV3, error)

func (*UsersService) CreateUserShort

func (*UsersService) DeleteUserInformationShort

func (aaa *UsersService) DeleteUserInformationShort(input *users.DeleteUserInformationParams) error

func (*UsersService) DeleteUserPermissionShort

func (aaa *UsersService) DeleteUserPermissionShort(input *users.DeleteUserPermissionParams) error

func (*UsersService) DeleteUserRoleShort

func (aaa *UsersService) DeleteUserRoleShort(input *users.DeleteUserRoleParams) error

func (*UsersService) DeleteUserShort

func (aaa *UsersService) DeleteUserShort(input *users.DeleteUserParams) error

func (*UsersService) DisableUserBanShort

func (*UsersService) DisableUserShort

func (aaa *UsersService) DisableUserShort(input *users.DisableUserParams) error

func (*UsersService) EnableUserBanShort

func (*UsersService) EnableUserShort

func (aaa *UsersService) EnableUserShort(input *users.EnableUserParams) error

func (*UsersService) ForgotPasswordShort

func (aaa *UsersService) ForgotPasswordShort(input *users.ForgotPasswordParams) error

func (*UsersService) GetAdminInvitationV3Short

func (aaa *UsersService) GetAdminInvitationV3Short(input *users.GetAdminInvitationV3Params) (*iamclientmodels.ModelUserInvitationV3, error)

func (*UsersService) GetAdminUsersByRoleIDShort

func (*UsersService) GetAuthSession

func (aaa *UsersService) GetAuthSession() auth.Session

func (*UsersService) GetListJusticePlatformAccountsShort

func (aaa *UsersService) GetListJusticePlatformAccountsShort(input *users.GetListJusticePlatformAccountsParams) ([]*iamclientmodels.ModelGetUserMapping, error)

func (*UsersService) GetPublisherUserShort

func (*UsersService) GetUserBanHistoryShort

func (aaa *UsersService) GetUserBanHistoryShort(input *users.GetUserBanHistoryParams) ([]*iamclientmodels.ModelUserBanResponse, error)

func (*UsersService) GetUserByLoginIDShort

func (*UsersService) GetUserByPlatformUserIDShort

func (aaa *UsersService) GetUserByPlatformUserIDShort(input *users.GetUserByPlatformUserIDParams) (*iamclientmodels.ModelPublicUserResponse, error)

func (*UsersService) GetUserByUserIDShort

func (aaa *UsersService) GetUserByUserIDShort(input *users.GetUserByUserIDParams) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) GetUserInformationShort

func (aaa *UsersService) GetUserInformationShort(input *users.GetUserInformationParams) (*iamclientmodels.ModelUserInformation, error)

func (*UsersService) GetUserLoginHistoriesShort

func (*UsersService) GetUserMappingShort

func (aaa *UsersService) GetUserMappingShort(input *users.GetUserMappingParams) (*iamclientmodels.ModelGetUserMapping, error)

func (*UsersService) GetUserPlatformAccountsShort

func (*UsersService) GetUsersByLoginIdsShort

func (*UsersService) LinkHeadlessAccountToMyAccountV3Short

func (aaa *UsersService) LinkHeadlessAccountToMyAccountV3Short(input *users.LinkHeadlessAccountToMyAccountV3Params) error

func (*UsersService) ListCrossNamespaceAccountLinkShort

func (aaa *UsersService) ListCrossNamespaceAccountLinkShort(input *users.ListCrossNamespaceAccountLinkParams) error

func (*UsersService) PlatformLinkShort

func (aaa *UsersService) PlatformLinkShort(input *users.PlatformLinkParams) error

func (*UsersService) PlatformUnlinkShort

func (aaa *UsersService) PlatformUnlinkShort(input *users.PlatformUnlinkParams) error

func (*UsersService) PublicBulkGetUsersShort

func (*UsersService) PublicCreateUserV2Short

func (*UsersService) PublicCreateUserV3Short

func (*UsersService) PublicDeletePlatformLinkV2Short

func (aaa *UsersService) PublicDeletePlatformLinkV2Short(input *users.PublicDeletePlatformLinkV2Params) error

func (*UsersService) PublicForceLinkPlatformWithProgressionShort

func (aaa *UsersService) PublicForceLinkPlatformWithProgressionShort(input *users.PublicForceLinkPlatformWithProgressionParams) error

func (*UsersService) PublicForcePlatformLinkV3Short

func (aaa *UsersService) PublicForcePlatformLinkV3Short(input *users.PublicForcePlatformLinkV3Params) error

func (*UsersService) PublicForgotPasswordV2Short

func (aaa *UsersService) PublicForgotPasswordV2Short(input *users.PublicForgotPasswordV2Params) error

func (*UsersService) PublicForgotPasswordV3Short

func (aaa *UsersService) PublicForgotPasswordV3Short(input *users.PublicForgotPasswordV3Params) error

func (*UsersService) PublicGetAsyncStatusShort

func (aaa *UsersService) PublicGetAsyncStatusShort(input *users.PublicGetAsyncStatusParams) (*iamclientmodels.ModelLinkRequest, error)

func (*UsersService) PublicGetCountryAgeRestrictionShort

func (aaa *UsersService) PublicGetCountryAgeRestrictionShort(input *users.PublicGetCountryAgeRestrictionParams) (*iamclientmodels.AccountcommonCountry, error)

func (*UsersService) PublicGetCountryAgeRestrictionV3Short

func (aaa *UsersService) PublicGetCountryAgeRestrictionV3Short(input *users.PublicGetCountryAgeRestrictionV3Params) (*iamclientmodels.ModelCountryV3Response, error)

func (*UsersService) PublicGetMyUserV3Short

func (aaa *UsersService) PublicGetMyUserV3Short(input *users.PublicGetMyUserV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) PublicGetUserBanHistoryV3Short

func (aaa *UsersService) PublicGetUserBanHistoryV3Short(input *users.PublicGetUserBanHistoryV3Params) (*iamclientmodels.ModelGetUserBanV3Response, error)

func (*UsersService) PublicGetUserBanShort

func (aaa *UsersService) PublicGetUserBanShort(input *users.PublicGetUserBanParams) ([]*iamclientmodels.ModelUserBanResponse, error)

func (*UsersService) PublicGetUserByPlatformUserIDV3Short

func (aaa *UsersService) PublicGetUserByPlatformUserIDV3Short(input *users.PublicGetUserByPlatformUserIDV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) PublicGetUserByUserIDV2Short

func (aaa *UsersService) PublicGetUserByUserIDV2Short(input *users.PublicGetUserByUserIDV2Params) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) PublicGetUserByUserIDV3Short

func (*UsersService) PublicLinkPlatformAccountShort

func (aaa *UsersService) PublicLinkPlatformAccountShort(input *users.PublicLinkPlatformAccountParams) error

func (*UsersService) PublicListJusticePlatformAccountsV3Short

func (aaa *UsersService) PublicListJusticePlatformAccountsV3Short(input *users.PublicListJusticePlatformAccountsV3Params) ([]*iamclientmodels.ModelGetUserMappingV3, error)

func (*UsersService) PublicPartialUpdateUserV3Short

func (aaa *UsersService) PublicPartialUpdateUserV3Short(input *users.PublicPartialUpdateUserV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) PublicPlatformLinkV2Short

func (aaa *UsersService) PublicPlatformLinkV2Short(input *users.PublicPlatformLinkV2Params) error

func (*UsersService) PublicPlatformLinkV3Short

func (aaa *UsersService) PublicPlatformLinkV3Short(input *users.PublicPlatformLinkV3Params) error

func (*UsersService) PublicPlatformUnlinkAllV3Short

func (aaa *UsersService) PublicPlatformUnlinkAllV3Short(input *users.PublicPlatformUnlinkAllV3Params) error

func (*UsersService) PublicPlatformUnlinkV3Short

func (aaa *UsersService) PublicPlatformUnlinkV3Short(input *users.PublicPlatformUnlinkV3Params) error

func (*UsersService) PublicProcessWebLinkPlatformV3Short

func (aaa *UsersService) PublicProcessWebLinkPlatformV3Short(input *users.PublicProcessWebLinkPlatformV3Params) (*iamclientmodels.ModelLinkRequest, error)

func (*UsersService) PublicResetPasswordV2Short

func (aaa *UsersService) PublicResetPasswordV2Short(input *users.PublicResetPasswordV2Params) error

func (*UsersService) PublicSendRegistrationCodeShort

func (aaa *UsersService) PublicSendRegistrationCodeShort(input *users.PublicSendRegistrationCodeParams) error

func (*UsersService) PublicSendVerificationCodeV3Short

func (aaa *UsersService) PublicSendVerificationCodeV3Short(input *users.PublicSendVerificationCodeV3Params) error

func (*UsersService) PublicSendVerificationLinkV3Short

func (aaa *UsersService) PublicSendVerificationLinkV3Short(input *users.PublicSendVerificationLinkV3Params) error

func (*UsersService) PublicUpdatePasswordV2Short

func (aaa *UsersService) PublicUpdatePasswordV2Short(input *users.PublicUpdatePasswordV2Params) error

func (*UsersService) PublicUpdatePasswordV3Short

func (aaa *UsersService) PublicUpdatePasswordV3Short(input *users.PublicUpdatePasswordV3Params) error

func (*UsersService) PublicUpdateUserV2Short

func (aaa *UsersService) PublicUpdateUserV2Short(input *users.PublicUpdateUserV2Params) ([]*iamclientmodels.ModelUserResponse, error)

func (*UsersService) PublicUpgradeHeadlessAccountV3Short

func (aaa *UsersService) PublicUpgradeHeadlessAccountV3Short(input *users.PublicUpgradeHeadlessAccountV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) PublicUserVerificationV3Short

func (aaa *UsersService) PublicUserVerificationV3Short(input *users.PublicUserVerificationV3Params) error

func (*UsersService) PublicValidateUserByUserIDAndPasswordV3Short

func (aaa *UsersService) PublicValidateUserByUserIDAndPasswordV3Short(input *users.PublicValidateUserByUserIDAndPasswordV3Params) error

func (*UsersService) PublicVerifyHeadlessAccountV3Short

func (aaa *UsersService) PublicVerifyHeadlessAccountV3Short(input *users.PublicVerifyHeadlessAccountV3Params) (*iamclientmodels.ModelUserResponseV3, error)

func (*UsersService) PublicVerifyRegistrationCodeShort

func (aaa *UsersService) PublicVerifyRegistrationCodeShort(input *users.PublicVerifyRegistrationCodeParams) error

func (*UsersService) PublicVerifyUserByLinkV3Short

func (aaa *UsersService) PublicVerifyUserByLinkV3Short(input *users.PublicVerifyUserByLinkV3Params) (string, error)

func (*UsersService) PublicWebLinkPlatformEstablishShort

func (aaa *UsersService) PublicWebLinkPlatformEstablishShort(input *users.PublicWebLinkPlatformEstablishParams) (string, error)

func (*UsersService) PublicWebLinkPlatformShort

func (aaa *UsersService) PublicWebLinkPlatformShort(input *users.PublicWebLinkPlatformParams) (*iamclientmodels.ModelWebLinkingResponse, error)

func (*UsersService) ResetPasswordShort

func (aaa *UsersService) ResetPasswordShort(input *users.ResetPasswordParams) error

func (*UsersService) ResetPasswordV3Short

func (aaa *UsersService) ResetPasswordV3Short(input *users.ResetPasswordV3Params) error

func (*UsersService) SaveUserPermissionShort

func (aaa *UsersService) SaveUserPermissionShort(input *users.SaveUserPermissionParams) error

func (*UsersService) SaveUserRolesShort

func (aaa *UsersService) SaveUserRolesShort(input *users.SaveUserRolesParams) error

func (*UsersService) SearchUserShort

func (*UsersService) SendVerificationCodeShort

func (aaa *UsersService) SendVerificationCodeShort(input *users.SendVerificationCodeParams) error

func (*UsersService) UpdateCountryAgeRestrictionShort

func (aaa *UsersService) UpdateCountryAgeRestrictionShort(input *users.UpdateCountryAgeRestrictionParams) (*iamclientmodels.ModelCountry, error)

func (*UsersService) UpdateFlightId

func (aaa *UsersService) UpdateFlightId(flightId string)

func (*UsersService) UpdatePasswordShort

func (aaa *UsersService) UpdatePasswordShort(input *users.UpdatePasswordParams) error

func (*UsersService) UpdateUserShort

func (aaa *UsersService) UpdateUserShort(input *users.UpdateUserParams) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) UpdateUserV3Short

func (*UsersService) UpgradeHeadlessAccountShort

func (aaa *UsersService) UpgradeHeadlessAccountShort(input *users.UpgradeHeadlessAccountParams) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) UpgradeHeadlessAccountWithVerificationCodeShort

func (aaa *UsersService) UpgradeHeadlessAccountWithVerificationCodeShort(input *users.UpgradeHeadlessAccountWithVerificationCodeParams) (*iamclientmodels.ModelUserResponse, error)

func (*UsersService) UserVerificationShort

func (aaa *UsersService) UserVerificationShort(input *users.UserVerificationParams) error

type UsersV4Service

type UsersV4Service struct {
	Client           *iamclient.JusticeIamService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*UsersV4Service) AdminAddUserRoleV4Short

func (*UsersV4Service) AdminBulkUpdateUserAccountTypeV4Short

func (aaa *UsersV4Service) AdminBulkUpdateUserAccountTypeV4Short(input *users_v4.AdminBulkUpdateUserAccountTypeV4Params) error

func (*UsersV4Service) AdminChallengeMyMFAV4Short

func (*UsersV4Service) AdminCreateUserV4Short

func (*UsersV4Service) AdminDisableMyAuthenticatorV4Short

func (aaa *UsersV4Service) AdminDisableMyAuthenticatorV4Short(input *users_v4.AdminDisableMyAuthenticatorV4Params) error

func (*UsersV4Service) AdminDisableMyBackupCodesV4Short

func (aaa *UsersV4Service) AdminDisableMyBackupCodesV4Short(input *users_v4.AdminDisableMyBackupCodesV4Params) error

func (*UsersV4Service) AdminDisableMyEmailV4Short

func (aaa *UsersV4Service) AdminDisableMyEmailV4Short(input *users_v4.AdminDisableMyEmailV4Params) error

func (*UsersV4Service) AdminDisableUserMFAV4Short

func (aaa *UsersV4Service) AdminDisableUserMFAV4Short(input *users_v4.AdminDisableUserMFAV4Params) error

func (*UsersV4Service) AdminDownloadMyBackupCodesV4Short

func (aaa *UsersV4Service) AdminDownloadMyBackupCodesV4Short(input *users_v4.AdminDownloadMyBackupCodesV4Params, writer io.Writer) (io.Writer, error)

func (*UsersV4Service) AdminEnableBackupCodesV4Short

func (aaa *UsersV4Service) AdminEnableBackupCodesV4Short(input *users_v4.AdminEnableBackupCodesV4Params) error

func (*UsersV4Service) AdminEnableMyAuthenticatorV4Short

func (aaa *UsersV4Service) AdminEnableMyAuthenticatorV4Short(input *users_v4.AdminEnableMyAuthenticatorV4Params) error

func (*UsersV4Service) AdminEnableMyEmailV4Short

func (aaa *UsersV4Service) AdminEnableMyEmailV4Short(input *users_v4.AdminEnableMyEmailV4Params) error

func (*UsersV4Service) AdminGenerateBackupCodesV4Short

func (aaa *UsersV4Service) AdminGenerateBackupCodesV4Short(input *users_v4.AdminGenerateBackupCodesV4Params) error

func (*UsersV4Service) AdminGetBackupCodesV4Short

func (aaa *UsersV4Service) AdminGetBackupCodesV4Short(input *users_v4.AdminGetBackupCodesV4Params) error

func (*UsersV4Service) AdminGetMyBackupCodesV4Short

func (*UsersV4Service) AdminInviteUserNewV4Short

func (*UsersV4Service) AdminInviteUserV4Short

func (*UsersV4Service) AdminListUserRolesV4Short

func (*UsersV4Service) AdminMakeFactorMyDefaultV4Short

func (aaa *UsersV4Service) AdminMakeFactorMyDefaultV4Short(input *users_v4.AdminMakeFactorMyDefaultV4Params) error

func (*UsersV4Service) AdminRemoveUserRoleV4Short

func (aaa *UsersV4Service) AdminRemoveUserRoleV4Short(input *users_v4.AdminRemoveUserRoleV4Params) error

func (*UsersV4Service) AdminSendMyMFAEmailCodeV4Short

func (aaa *UsersV4Service) AdminSendMyMFAEmailCodeV4Short(input *users_v4.AdminSendMyMFAEmailCodeV4Params) error

func (*UsersV4Service) AdminUpdateMyUserV4Short

func (*UsersV4Service) AdminUpdateUserEmailAddressV4Short

func (aaa *UsersV4Service) AdminUpdateUserEmailAddressV4Short(input *users_v4.AdminUpdateUserEmailAddressV4Params) error

func (*UsersV4Service) AdminUpdateUserV4Short

func (*UsersV4Service) GetAuthSession

func (aaa *UsersV4Service) GetAuthSession() auth.Session

func (*UsersV4Service) PublicChallengeMyMFAV4Short

func (*UsersV4Service) PublicCreateTestUserV4Short

func (*UsersV4Service) PublicCreateUserV4Short

func (*UsersV4Service) PublicDisableMyAuthenticatorV4Short

func (aaa *UsersV4Service) PublicDisableMyAuthenticatorV4Short(input *users_v4.PublicDisableMyAuthenticatorV4Params) error

func (*UsersV4Service) PublicDisableMyBackupCodesV4Short

func (aaa *UsersV4Service) PublicDisableMyBackupCodesV4Short(input *users_v4.PublicDisableMyBackupCodesV4Params) error

func (*UsersV4Service) PublicDisableMyEmailV4Short

func (aaa *UsersV4Service) PublicDisableMyEmailV4Short(input *users_v4.PublicDisableMyEmailV4Params) error

func (*UsersV4Service) PublicDownloadMyBackupCodesV4Short

func (aaa *UsersV4Service) PublicDownloadMyBackupCodesV4Short(input *users_v4.PublicDownloadMyBackupCodesV4Params, writer io.Writer) (io.Writer, error)

func (*UsersV4Service) PublicEnableBackupCodesV4Short

func (aaa *UsersV4Service) PublicEnableBackupCodesV4Short(input *users_v4.PublicEnableBackupCodesV4Params) error

func (*UsersV4Service) PublicEnableMyAuthenticatorV4Short

func (aaa *UsersV4Service) PublicEnableMyAuthenticatorV4Short(input *users_v4.PublicEnableMyAuthenticatorV4Params) error

func (*UsersV4Service) PublicEnableMyEmailV4Short

func (aaa *UsersV4Service) PublicEnableMyEmailV4Short(input *users_v4.PublicEnableMyEmailV4Params) error

func (*UsersV4Service) PublicGenerateBackupCodesV4Short

func (aaa *UsersV4Service) PublicGenerateBackupCodesV4Short(input *users_v4.PublicGenerateBackupCodesV4Params) error

func (*UsersV4Service) PublicGetBackupCodesV4Short

func (aaa *UsersV4Service) PublicGetBackupCodesV4Short(input *users_v4.PublicGetBackupCodesV4Params) error

func (*UsersV4Service) PublicGetMyBackupCodesV4Short

func (*UsersV4Service) PublicInviteUserV4Short

func (*UsersV4Service) PublicMakeFactorMyDefaultV4Short

func (aaa *UsersV4Service) PublicMakeFactorMyDefaultV4Short(input *users_v4.PublicMakeFactorMyDefaultV4Params) error

func (*UsersV4Service) PublicRemoveTrustedDeviceV4Short

func (aaa *UsersV4Service) PublicRemoveTrustedDeviceV4Short(input *users_v4.PublicRemoveTrustedDeviceV4Params) error

func (*UsersV4Service) PublicSendMyMFAEmailCodeV4Short

func (aaa *UsersV4Service) PublicSendMyMFAEmailCodeV4Short(input *users_v4.PublicSendMyMFAEmailCodeV4Params) error

func (*UsersV4Service) PublicUpdateUserEmailAddressV4Short

func (aaa *UsersV4Service) PublicUpdateUserEmailAddressV4Short(input *users_v4.PublicUpdateUserEmailAddressV4Params) error

func (*UsersV4Service) PublicUpdateUserV4Short

func (*UsersV4Service) PublicUpgradeHeadlessAccountV4Short

func (aaa *UsersV4Service) PublicUpgradeHeadlessAccountV4Short(input *users_v4.PublicUpgradeHeadlessAccountV4Params) (*iamclientmodels.AccountUserResponseV4, error)

func (*UsersV4Service) UpdateFlightId

func (aaa *UsersV4Service) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL