certificateproviderdata

package
v0.1580.0-MLPAB2540tra... Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package certificateproviderdata provides types that describe the data entered by a certificate provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provided

type Provided struct {
	PK dynamo.LpaKeyType
	SK dynamo.CertificateProviderKeyType
	// UID of the actor
	UID actoruid.UID
	// The identifier of the LPA the certificate provider is providing a certificate for
	LpaID string
	// Tracking when CertificateProviderProvidedDetails is updated
	UpdatedAt time.Time
	// Date of birth of the certificate provider
	DateOfBirth date.Date
	// HomeAddress is the personal address of the certificate provider
	HomeAddress place.Address
	// Data returned from an identity check
	IdentityUserData identity.UserData
	// SignedAt is when the certificate provider submitted their signature
	SignedAt time.Time
	// Tasks the certificate provider will complete
	Tasks Tasks
	// ContactLanguagePreference is the language the certificate provider prefers to receive notifications in
	ContactLanguagePreference localize.Lang
	// Email is the email address returned from OneLogin when the certificate provider logged in
	Email string
}

Provided contains details about the certificate provider, provided by the certificate provider

func (*Provided) CertificateProviderIdentityConfirmed

func (c *Provided) CertificateProviderIdentityConfirmed(firstNames, lastName string) bool

func (*Provided) IdentityDeadline added in v0.1554.0

func (c *Provided) IdentityDeadline() time.Time

IdentityDeadline gives the date which the certificate provider must complete their identity confirmation, otherwise the signature will expire.

type Tasks

type Tasks struct {
	ConfirmYourDetails    task.State
	ConfirmYourIdentity   task.IdentityState
	ReadTheLpa            task.State
	ProvideTheCertificate task.State
}

Jump to

Keyboard shortcuts

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