Documentation ¶
Index ¶
- Constants
- Variables
- type AreAdminsRegisteredRequest
- type AreAdminsRegisteredResponse
- type InviteClientAdminUserRequest
- type InviteClientAdminUserResponse
- type InviteClientUserRequest
- type InviteClientUserResponse
- type InviteCompanyAdminUserRequest
- type InviteCompanyAdminUserResponse
- type InviteCompanyUserRequest
- type InviteCompanyUserResponse
- type InviteUserRequest
- type InviteUserResponse
- type RegisterClientAdminUserRequest
- type RegisterClientAdminUserResponse
- type RegisterClientUserRequest
- type RegisterClientUserResponse
- type RegisterCompanyAdminUserRequest
- type RegisterCompanyAdminUserResponse
- type RegisterCompanyUserRequest
- type RegisterCompanyUserResponse
- type RegisterSystemAdminUserRequest
- type RegisterSystemAdminUserResponse
- type Registrar
Constants ¶
View Source
const AreAdminsRegisteredService = ServiceProvider + ".AreAdminsRegistered"
View Source
const InviteClientAdminUserService = ServiceProvider + ".InviteClientAdminUser"
View Source
const InviteClientUserService = ServiceProvider + ".InviteClientUser"
View Source
const InviteCompanyAdminUserService = ServiceProvider + ".InviteCompanyAdminUser"
View Source
const InviteCompanyUserService = ServiceProvider + ".InviteCompanyUser"
View Source
const InviteUserService = ServiceProvider + ".InviteUser"
View Source
const RegisterClientAdminUserService = ServiceProvider + ".RegisterClientAdminUser"
View Source
const RegisterClientUserService = ServiceProvider + ".RegisterClientUser"
View Source
const RegisterCompanyAdminUserService = ServiceProvider + ".RegisterCompanyAdminUser"
View Source
const RegisterCompanyUserService = ServiceProvider + ".RegisterCompanyUser"
View Source
const RegisterSystemAdminUserService = ServiceProvider + ".RegisterSystemAdminUser"
View Source
const ServiceProvider = "Party-Registrar"
Variables ¶
View Source
var ClientAdminUserPermissions = []api.Permission{ InviteUserService, AreAdminsRegisteredService, }
View Source
var ClientUserPermissions = make([]api.Permission, 0)
View Source
var CompanyAdminUserPermissions = []api.Permission{ InviteUserService, InviteClientAdminUserService, AreAdminsRegisteredService, }
View Source
var CompanyUserPermissions = make([]api.Permission, 0)
View Source
var SystemUserPermissions = []api.Permission{ InviteCompanyAdminUserService, RegisterCompanyAdminUserService, }
Functions ¶
This section is empty.
Types ¶
type AreAdminsRegisteredRequest ¶
type AreAdminsRegisteredRequest struct { Claims claims.Claims PartyIdentifiers []party.Identifier }
type InviteClientAdminUserRequest ¶
type InviteClientAdminUserRequest struct { Claims claims.Claims ClientIdentifier identifier.Identifier }
type InviteClientAdminUserResponse ¶
type InviteClientAdminUserResponse struct {
URLToken string
}
type InviteClientUserRequest ¶
type InviteClientUserRequest struct { Claims claims.Claims UserIdentifier identifier.Identifier }
type InviteClientUserResponse ¶
type InviteClientUserResponse struct {
URLToken string
}
type InviteCompanyAdminUserRequest ¶
type InviteCompanyAdminUserRequest struct { Claims claims.Claims CompanyIdentifier identifier.Identifier }
type InviteCompanyAdminUserResponse ¶
type InviteCompanyAdminUserResponse struct {
URLToken string
}
type InviteCompanyUserRequest ¶
type InviteCompanyUserRequest struct { Claims claims.Claims UserIdentifier identifier.Identifier }
type InviteCompanyUserResponse ¶
type InviteCompanyUserResponse struct {
URLToken string
}
type InviteUserRequest ¶
type InviteUserRequest struct { Claims claims.Claims UserIdentifier identifier.Identifier }
type InviteUserResponse ¶
type InviteUserResponse struct {
URLToken string
}
type Registrar ¶
type Registrar interface { RegisterSystemAdminUser(request *RegisterSystemAdminUserRequest) (*RegisterSystemAdminUserResponse, error) InviteCompanyAdminUser(request *InviteCompanyAdminUserRequest) (*InviteCompanyAdminUserResponse, error) RegisterCompanyAdminUser(request *RegisterCompanyAdminUserRequest) (*RegisterCompanyAdminUserResponse, error) InviteCompanyUser(request *InviteCompanyUserRequest) (*InviteCompanyUserResponse, error) RegisterCompanyUser(request *RegisterCompanyUserRequest) (*RegisterCompanyUserResponse, error) InviteClientAdminUser(request *InviteClientAdminUserRequest) (*InviteClientAdminUserResponse, error) RegisterClientAdminUser(request *RegisterClientAdminUserRequest) (*RegisterClientAdminUserResponse, error) InviteClientUser(request *InviteClientUserRequest) (*InviteClientUserResponse, error) RegisterClientUser(request *RegisterClientUserRequest) (*RegisterClientUserResponse, error) InviteUser(request *InviteUserRequest) (*InviteUserResponse, error) AreAdminsRegistered(request *AreAdminsRegisteredRequest) (*AreAdminsRegisteredResponse, error) }
Click to show internal directories.
Click to hide internal directories.