registrar

package
v0.0.0-...-78e7222 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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 CompanyUserPermissions = make([]api.Permission, 0)

Functions

This section is empty.

Types

type AreAdminsRegisteredRequest

type AreAdminsRegisteredRequest struct {
	Claims           claims.Claims
	PartyIdentifiers []party.Identifier
}

type AreAdminsRegisteredResponse

type AreAdminsRegisteredResponse struct {
	Result map[string]bool
}

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 RegisterClientAdminUserRequest

type RegisterClientAdminUserRequest struct {
	Claims claims.Claims
	User   humanUser.User
}

type RegisterClientAdminUserResponse

type RegisterClientAdminUserResponse struct {
	User humanUser.User
}

type RegisterClientUserRequest

type RegisterClientUserRequest struct {
	Claims claims.Claims
	User   humanUser.User
}

type RegisterClientUserResponse

type RegisterClientUserResponse struct {
	User humanUser.User
}

type RegisterCompanyAdminUserRequest

type RegisterCompanyAdminUserRequest struct {
	Claims claims.Claims
	User   humanUser.User
}

type RegisterCompanyAdminUserResponse

type RegisterCompanyAdminUserResponse struct {
	User humanUser.User
}

type RegisterCompanyUserRequest

type RegisterCompanyUserRequest struct {
	Claims claims.Claims
	User   humanUser.User
}

type RegisterCompanyUserResponse

type RegisterCompanyUserResponse struct {
	User humanUser.User
}

type RegisterSystemAdminUserRequest

type RegisterSystemAdminUserRequest struct {
	Claims claims.Claims
	User   humanUser.User
}

type RegisterSystemAdminUserResponse

type RegisterSystemAdminUserResponse struct {
	User humanUser.User
}

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)
}

Directories

Path Synopsis
adaptor

Jump to

Keyboard shortcuts

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