Documentation ¶
Overview ¶
Package donorpage provides the pages that a donor interacts with.
Index ¶
- Constants
- func EnterAccessCode(logger Logger, tmpl template.Template, shareCodeStore ShareCodeStore, ...) page.Handler
- func ParseHowYouWillConfirmYourIdentity(s string) (howYouWillConfirmYourIdentity, error)
- func Register(rootMux *http.ServeMux, logger Logger, tmpls template.Templates, ...)
- type AddressClient
- type CertificateProviderStore
- type DashboardStore
- type DocumentStore
- type DonorStore
- type ErrorHandler
- type EventClient
- type EvidenceReceivedStore
- type File
- type GetDonorStore
- type Handler
- func AddCorrespondent(tmpl template.Template, donorStore DonorStore) Handler
- func AreYouApplyingForFeeDiscountOrExemption(tmpl template.Template, payer Handler, donorStore DonorStore) Handler
- func AreYouSureYouNoLongerNeedVoucher(tmpl template.Template, donorStore DonorStore, notifyClient NotifyClient) Handler
- func CanYouSignYourLpa(tmpl template.Template, donorStore DonorStore) Handler
- func CertificateProviderAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func CertificateProviderDetails(tmpl template.Template, donorStore DonorStore, newUID func() actoruid.UID) Handler
- func ChangeMobileNumber(tmpl template.Template, witnessCodeSender WitnessCodeSender, ...) Handler
- func CheckYouCanSign(tmpl template.Template, donorStore DonorStore) Handler
- func CheckYourDetails(tmpl template.Template, shareCodeSender ShareCodeSender) Handler
- func CheckYourLpa(tmpl template.Template, donorStore DonorStore, shareCodeSender ShareCodeSender, ...) Handler
- func ChooseAttorneys(tmpl template.Template, donorStore DonorStore) Handler
- func ChooseAttorneysAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func ChooseAttorneysGuidance(tmpl template.Template, newUID func() actoruid.UID) Handler
- func ChooseAttorneysSummary(tmpl template.Template, newUID func() actoruid.UID) Handler
- func ChooseNewCertificateProvider(tmpl template.Template, donorStore DonorStore) Handler
- func ChoosePeopleToNotify(tmpl template.Template, donorStore DonorStore, newUID func() actoruid.UID) Handler
- func ChoosePeopleToNotifyAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func ChoosePeopleToNotifySummary(tmpl template.Template) Handler
- func ChooseReplacementAttorneys(tmpl template.Template, donorStore DonorStore) Handler
- func ChooseReplacementAttorneysAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func ChooseReplacementAttorneysSummary(tmpl template.Template, newUID func() actoruid.UID) Handler
- func ChooseSomeoneToVouchForYou(tmpl template.Template, donorStore DonorStore) Handler
- func CompletingYourIdentityConfirmation(tmpl template.Template) Handler
- func ConfirmPersonAllowedToVouch(tmpl template.Template, donorStore DonorStore) Handler
- func ConfirmYourCertificateProviderIsNotRelated(tmpl template.Template, donorStore DonorStore, now func() time.Time) Handler
- func ConfirmYourIdentity(tmpl template.Template, donorStore DonorStore) Handler
- func CostOfRepeatApplication(tmpl template.Template, donorStore DonorStore) Handler
- func DeleteLpa(tmpl template.Template, donorStore DonorStore) Handler
- func DoYouWantToNotifyPeople(tmpl template.Template, donorStore DonorStore) Handler
- func EnterCorrespondentAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func EnterCorrespondentDetails(tmpl template.Template, donorStore DonorStore) Handler
- func EnterReplacementTrustCorporation(tmpl template.Template, donorStore DonorStore) Handler
- func EnterReplacementTrustCorporationAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func EnterTrustCorporation(tmpl template.Template, donorStore DonorStore) Handler
- func EnterTrustCorporationAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func EnterVoucher(tmpl template.Template, donorStore DonorStore, newUID func() actoruid.UID) Handler
- func FeeDenied(tmpl template.Template, payer Handler) Handler
- func Guidance(tmpl template.Template) Handler
- func HowDoYouKnowYourCertificateProvider(tmpl template.Template, donorStore DonorStore) Handler
- func HowLongHaveYouKnownCertificateProvider(tmpl template.Template, donorStore DonorStore) Handler
- func HowShouldAttorneysMakeDecisions(tmpl template.Template, donorStore DonorStore) Handler
- func HowShouldReplacementAttorneysMakeDecisions(tmpl template.Template, donorStore DonorStore) Handler
- func HowShouldReplacementAttorneysStepIn(tmpl template.Template, donorStore DonorStore) Handler
- func HowWillYouConfirmYourIdentity(tmpl template.Template, donorStore DonorStore) Handler
- func HowWouldCertificateProviderPreferToCarryOutTheirRole(tmpl template.Template, donorStore DonorStore) Handler
- func HowWouldYouLikeToSendEvidence(tmpl template.Template, donorStore DonorStore) Handler
- func IdentityDetails(tmpl template.Template, donorStore DonorStore) Handler
- func IdentityWithOneLogin(oneLoginClient OneLoginClient, sessionStore SessionStore, ...) Handler
- func IdentityWithOneLoginCallback(oneLoginClient OneLoginClient, sessionStore SessionStore, ...) Handler
- func LifeSustainingTreatment(tmpl template.Template, donorStore DonorStore) Handler
- func LpaDetailsSaved(tmpl template.Template) Handler
- func LpaProgress(tmpl template.Template, lpaStoreResolvingService LpaStoreResolvingService, ...) Handler
- func LpaType(tmpl template.Template, donorStore DonorStore, eventClient EventClient) Handler
- func Pay(logger Logger, sessionStore SessionStore, donorStore DonorStore, ...) Handler
- func PaymentConfirmation(logger Logger, payClient PayClient, donorStore DonorStore, ...) Handler
- func PreviousApplicationNumber(tmpl template.Template, donorStore DonorStore) Handler
- func PreviousFee(tmpl template.Template, payer Handler, donorStore DonorStore) Handler
- func RegisterWithCourtOfProtection(tmpl template.Template, donorStore DonorStore) Handler
- func RemoveAttorney(tmpl template.Template, donorStore DonorStore) Handler
- func RemovePersonToNotify(tmpl template.Template, donorStore DonorStore) Handler
- func RemoveReplacementAttorney(tmpl template.Template, donorStore DonorStore) Handler
- func RemoveTrustCorporation(tmpl template.Template, donorStore DonorStore, isReplacement bool) Handler
- func ResendWitnessCode(tmpl template.Template, witnessCodeSender WitnessCodeSender, ...) Handler
- func Restrictions(tmpl template.Template, donorStore DonorStore) Handler
- func SendUsYourEvidenceByPost(tmpl template.Template, payer Handler, eventClient EventClient) Handler
- func SignYourLpa(tmpl template.Template, donorStore DonorStore, now func() time.Time) Handler
- func TaskList(tmpl template.Template, evidenceReceivedStore EvidenceReceivedStore) Handler
- func UploadEvidence(tmpl template.Template, logger Logger, payer Handler, ...) Handler
- func UploadEvidenceSSE(documentStore DocumentStore, ttl time.Duration, flushFrequency time.Duration, ...) Handler
- func ViewLpa(tmpl template.Template, lpaStoreClient LpaStoreClient) Handler
- func WantReplacementAttorneys(tmpl template.Template, donorStore DonorStore, newUID func() actoruid.UID) Handler
- func WhatYouCanDoNow(tmpl template.Template, donorStore DonorStore) Handler
- func WhatYouCanDoNowExpired(tmpl template.Template, donorStore DonorStore) Handler
- func WhenCanTheLpaBeUsed(tmpl template.Template, donorStore DonorStore) Handler
- func WhichFeeTypeAreYouApplyingFor(tmpl template.Template, donorStore DonorStore) Handler
- func WithdrawLpa(tmpl template.Template, donorStore DonorStore, now func() time.Time, ...) Handler
- func WitnessingAsCertificateProvider(tmpl template.Template, donorStore DonorStore, shareCodeSender ShareCodeSender, ...) Handler
- func WitnessingAsIndependentWitness(tmpl template.Template, donorStore DonorStore, now func() time.Time) Handler
- func WitnessingYourSignature(tmpl template.Template, witnessCodeSender WitnessCodeSender, ...) Handler
- func YouCannotSignYourLpaYet(tmpl template.Template) Handler
- func YourAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func YourAuthorisedSignatory(tmpl template.Template, donorStore DonorStore, newUID func() actoruid.UID) Handler
- func YourDateOfBirth(tmpl template.Template, donorStore DonorStore) Handler
- func YourEmail(tmpl template.Template, donorStore DonorStore) Handler
- func YourIndependentWitness(tmpl template.Template, donorStore DonorStore, newUID func() actoruid.UID) Handler
- func YourIndependentWitnessAddress(logger Logger, tmpl template.Template, addressClient AddressClient, ...) Handler
- func YourIndependentWitnessMobile(tmpl template.Template, donorStore DonorStore) Handler
- func YourLpaLanguage(tmpl template.Template, donorStore DonorStore) Handler
- func YourMobile(tmpl template.Template, donorStore DonorStore) Handler
- func YourName(tmpl template.Template, donorStore DonorStore, sessionStore SessionStore) Handler
- func YourPreferredLanguage(tmpl template.Template, donorStore DonorStore) Handler
- type Localizer
- type Logger
- type LpaDetailsSavedData
- type LpaStoreClient
- type LpaStoreResolvingService
- type NotifyClient
- type OneLoginClient
- type PayClient
- type ProgressTracker
- type RequestSigner
- type S3Client
- type ScheduledStore
- type SessionStore
- type ShareCodeSender
- type ShareCodeStore
- type Template
- type UidClient
- type WitnessCodeSender
Constants ¶
View Source
const ( WantToSignLpa = "want-to-sign" WantToApplyForLpa = "want-to-apply" )
Variables ¶
This section is empty.
Functions ¶
func EnterAccessCode ¶
func EnterAccessCode(logger Logger, tmpl template.Template, shareCodeStore ShareCodeStore, donorStore DonorStore) page.Handler
func ParseHowYouWillConfirmYourIdentity ¶ added in v0.1548.0
func Register ¶
func Register( rootMux *http.ServeMux, logger Logger, tmpls template.Templates, sessionStore SessionStore, donorStore DonorStore, oneLoginClient OneLoginClient, addressClient AddressClient, appPublicURL string, payClient PayClient, shareCodeSender ShareCodeSender, witnessCodeSender WitnessCodeSender, errorHandler page.ErrorHandler, certificateProviderStore CertificateProviderStore, notifyClient NotifyClient, evidenceReceivedStore EvidenceReceivedStore, documentStore DocumentStore, eventClient EventClient, dashboardStore DashboardStore, lpaStoreClient LpaStoreClient, shareCodeStore ShareCodeStore, progressTracker ProgressTracker, lpaStoreResolvingService LpaStoreResolvingService, scheduledStore ScheduledStore, )
Types ¶
type AddressClient ¶
type CertificateProviderStore ¶
type CertificateProviderStore interface {
GetAny(ctx context.Context) (*certificateproviderdata.Provided, error)
}
type DashboardStore ¶
type DocumentStore ¶
type DocumentStore interface { GetAll(context.Context) (document.Documents, error) Put(context.Context, document.Document) error Delete(context.Context, document.Document) error DeleteInfectedDocuments(context.Context, document.Documents) error Create(context.Context, *donordata.Provided, string, []byte) (document.Document, error) Submit(context.Context, *donordata.Provided, document.Documents) error }
type DonorStore ¶
type DonorStore interface { Get(ctx context.Context) (*donordata.Provided, error) Latest(ctx context.Context) (*donordata.Provided, error) Put(ctx context.Context, donor *donordata.Provided) error Delete(ctx context.Context) error Link(ctx context.Context, data sharecodedata.Link, donorEmail string) error DeleteVoucher(ctx context.Context, provided *donordata.Provided) error }
type ErrorHandler ¶
type ErrorHandler func(http.ResponseWriter, *http.Request, error)
type EventClient ¶
type EventClient interface { SendReducedFeeRequested(ctx context.Context, e event.ReducedFeeRequested) error SendPaymentReceived(ctx context.Context, e event.PaymentReceived) error SendUidRequested(ctx context.Context, e event.UidRequested) error SendCertificateProviderStarted(ctx context.Context, e event.CertificateProviderStarted) error SendIdentityCheckMismatched(ctx context.Context, e event.IdentityCheckMismatched) error }
type EvidenceReceivedStore ¶
type GetDonorStore ¶
type Handler ¶
type Handler func(data appcontext.Data, w http.ResponseWriter, r *http.Request, donor *donordata.Provided) error
func AddCorrespondent ¶
func AddCorrespondent(tmpl template.Template, donorStore DonorStore) Handler
func AreYouApplyingForFeeDiscountOrExemption ¶
func AreYouApplyingForFeeDiscountOrExemption(tmpl template.Template, payer Handler, donorStore DonorStore) Handler
func AreYouSureYouNoLongerNeedVoucher ¶ added in v0.1513.0
func AreYouSureYouNoLongerNeedVoucher(tmpl template.Template, donorStore DonorStore, notifyClient NotifyClient) Handler
func CanYouSignYourLpa ¶
func CanYouSignYourLpa(tmpl template.Template, donorStore DonorStore) Handler
func CertificateProviderAddress ¶
func CertificateProviderAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func ChangeMobileNumber ¶
func CheckYouCanSign ¶
func CheckYouCanSign(tmpl template.Template, donorStore DonorStore) Handler
func CheckYourDetails ¶
func CheckYourDetails(tmpl template.Template, shareCodeSender ShareCodeSender) Handler
func CheckYourLpa ¶
func CheckYourLpa(tmpl template.Template, donorStore DonorStore, shareCodeSender ShareCodeSender, notifyClient NotifyClient, certificateProviderStore CertificateProviderStore, now func() time.Time, appPublicURL string) Handler
func ChooseAttorneys ¶
func ChooseAttorneys(tmpl template.Template, donorStore DonorStore) Handler
func ChooseAttorneysAddress ¶
func ChooseAttorneysAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func ChooseAttorneysGuidance ¶
func ChooseAttorneysSummary ¶
func ChooseNewCertificateProvider ¶
func ChooseNewCertificateProvider(tmpl template.Template, donorStore DonorStore) Handler
func ChoosePeopleToNotify ¶
func ChoosePeopleToNotifyAddress ¶
func ChoosePeopleToNotifyAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func ChooseReplacementAttorneys ¶
func ChooseReplacementAttorneys(tmpl template.Template, donorStore DonorStore) Handler
func ChooseReplacementAttorneysAddress ¶
func ChooseReplacementAttorneysAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func ChooseSomeoneToVouchForYou ¶ added in v0.1529.0
func ChooseSomeoneToVouchForYou(tmpl template.Template, donorStore DonorStore) Handler
func CompletingYourIdentityConfirmation ¶ added in v0.1554.0
func ConfirmPersonAllowedToVouch ¶
func ConfirmPersonAllowedToVouch(tmpl template.Template, donorStore DonorStore) Handler
func ConfirmYourIdentity ¶ added in v0.1548.0
func ConfirmYourIdentity(tmpl template.Template, donorStore DonorStore) Handler
func CostOfRepeatApplication ¶ added in v0.1569.0
func CostOfRepeatApplication(tmpl template.Template, donorStore DonorStore) Handler
func DoYouWantToNotifyPeople ¶
func DoYouWantToNotifyPeople(tmpl template.Template, donorStore DonorStore) Handler
func EnterCorrespondentAddress ¶
func EnterCorrespondentAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func EnterCorrespondentDetails ¶
func EnterCorrespondentDetails(tmpl template.Template, donorStore DonorStore) Handler
func EnterReplacementTrustCorporation ¶
func EnterReplacementTrustCorporation(tmpl template.Template, donorStore DonorStore) Handler
func EnterReplacementTrustCorporationAddress ¶
func EnterReplacementTrustCorporationAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func EnterTrustCorporation ¶
func EnterTrustCorporation(tmpl template.Template, donorStore DonorStore) Handler
func EnterTrustCorporationAddress ¶
func EnterTrustCorporationAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func EnterVoucher ¶
func HowDoYouKnowYourCertificateProvider ¶
func HowDoYouKnowYourCertificateProvider(tmpl template.Template, donorStore DonorStore) Handler
func HowLongHaveYouKnownCertificateProvider ¶
func HowLongHaveYouKnownCertificateProvider(tmpl template.Template, donorStore DonorStore) Handler
func HowShouldAttorneysMakeDecisions ¶
func HowShouldAttorneysMakeDecisions(tmpl template.Template, donorStore DonorStore) Handler
func HowShouldReplacementAttorneysMakeDecisions ¶
func HowShouldReplacementAttorneysMakeDecisions(tmpl template.Template, donorStore DonorStore) Handler
func HowShouldReplacementAttorneysStepIn ¶
func HowShouldReplacementAttorneysStepIn(tmpl template.Template, donorStore DonorStore) Handler
func HowWillYouConfirmYourIdentity ¶ added in v0.1548.0
func HowWillYouConfirmYourIdentity(tmpl template.Template, donorStore DonorStore) Handler
func HowWouldCertificateProviderPreferToCarryOutTheirRole ¶
func HowWouldCertificateProviderPreferToCarryOutTheirRole(tmpl template.Template, donorStore DonorStore) Handler
func HowWouldYouLikeToSendEvidence ¶
func HowWouldYouLikeToSendEvidence(tmpl template.Template, donorStore DonorStore) Handler
func IdentityDetails ¶ added in v0.1574.0
func IdentityDetails(tmpl template.Template, donorStore DonorStore) Handler
func IdentityWithOneLogin ¶
func IdentityWithOneLogin(oneLoginClient OneLoginClient, sessionStore SessionStore, randomString func(int) string) Handler
func IdentityWithOneLoginCallback ¶
func IdentityWithOneLoginCallback(oneLoginClient OneLoginClient, sessionStore SessionStore, donorStore DonorStore, scheduledStore ScheduledStore, eventClient EventClient) Handler
func LifeSustainingTreatment ¶
func LifeSustainingTreatment(tmpl template.Template, donorStore DonorStore) Handler
func LpaDetailsSaved ¶
func LpaProgress ¶
func LpaProgress(tmpl template.Template, lpaStoreResolvingService LpaStoreResolvingService, progressTracker ProgressTracker) Handler
func LpaType ¶
func LpaType(tmpl template.Template, donorStore DonorStore, eventClient EventClient) Handler
func Pay ¶
func Pay( logger Logger, sessionStore SessionStore, donorStore DonorStore, payClient PayClient, appPublicURL string, ) Handler
func PaymentConfirmation ¶
func PaymentConfirmation(logger Logger, payClient PayClient, donorStore DonorStore, sessionStore SessionStore, shareCodeSender ShareCodeSender, lpaStoreClient LpaStoreClient, eventClient EventClient, notifyClient NotifyClient) Handler
func PreviousApplicationNumber ¶
func PreviousApplicationNumber(tmpl template.Template, donorStore DonorStore) Handler
func PreviousFee ¶
func PreviousFee(tmpl template.Template, payer Handler, donorStore DonorStore) Handler
func RegisterWithCourtOfProtection ¶
func RegisterWithCourtOfProtection(tmpl template.Template, donorStore DonorStore) Handler
func RemoveAttorney ¶
func RemoveAttorney(tmpl template.Template, donorStore DonorStore) Handler
func RemovePersonToNotify ¶
func RemovePersonToNotify(tmpl template.Template, donorStore DonorStore) Handler
func RemoveReplacementAttorney ¶
func RemoveReplacementAttorney(tmpl template.Template, donorStore DonorStore) Handler
func RemoveTrustCorporation ¶
func RemoveTrustCorporation(tmpl template.Template, donorStore DonorStore, isReplacement bool) Handler
func ResendWitnessCode ¶
func Restrictions ¶
func Restrictions(tmpl template.Template, donorStore DonorStore) Handler
func SendUsYourEvidenceByPost ¶
func SendUsYourEvidenceByPost(tmpl template.Template, payer Handler, eventClient EventClient) Handler
func SignYourLpa ¶
func TaskList ¶
func TaskList(tmpl template.Template, evidenceReceivedStore EvidenceReceivedStore) Handler
func UploadEvidence ¶
func UploadEvidenceSSE ¶
func ViewLpa ¶ added in v0.1437.0
func ViewLpa(tmpl template.Template, lpaStoreClient LpaStoreClient) Handler
func WhatYouCanDoNow ¶
func WhatYouCanDoNow(tmpl template.Template, donorStore DonorStore) Handler
func WhatYouCanDoNowExpired ¶ added in v0.1431.0
func WhatYouCanDoNowExpired(tmpl template.Template, donorStore DonorStore) Handler
func WhenCanTheLpaBeUsed ¶
func WhenCanTheLpaBeUsed(tmpl template.Template, donorStore DonorStore) Handler
func WhichFeeTypeAreYouApplyingFor ¶
func WhichFeeTypeAreYouApplyingFor(tmpl template.Template, donorStore DonorStore) Handler
func WithdrawLpa ¶
func WithdrawLpa(tmpl template.Template, donorStore DonorStore, now func() time.Time, lpaStoreClient LpaStoreClient) Handler
func WitnessingAsCertificateProvider ¶
func WitnessingAsCertificateProvider( tmpl template.Template, donorStore DonorStore, shareCodeSender ShareCodeSender, lpaStoreClient LpaStoreClient, eventClient EventClient, now func() time.Time, ) Handler
func WitnessingYourSignature ¶
func WitnessingYourSignature(tmpl template.Template, witnessCodeSender WitnessCodeSender, donorStore DonorStore) Handler
func YouCannotSignYourLpaYet ¶
func YourAddress ¶
func YourAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func YourAuthorisedSignatory ¶
func YourDateOfBirth ¶
func YourDateOfBirth(tmpl template.Template, donorStore DonorStore) Handler
func YourIndependentWitness ¶
func YourIndependentWitnessAddress ¶
func YourIndependentWitnessAddress(logger Logger, tmpl template.Template, addressClient AddressClient, donorStore DonorStore) Handler
func YourIndependentWitnessMobile ¶
func YourIndependentWitnessMobile(tmpl template.Template, donorStore DonorStore) Handler
func YourLpaLanguage ¶
func YourLpaLanguage(tmpl template.Template, donorStore DonorStore) Handler
func YourMobile ¶ added in v0.1389.0
func YourMobile(tmpl template.Template, donorStore DonorStore) Handler
func YourName ¶
func YourName(tmpl template.Template, donorStore DonorStore, sessionStore SessionStore) Handler
func YourPreferredLanguage ¶
func YourPreferredLanguage(tmpl template.Template, donorStore DonorStore) Handler
type LpaDetailsSavedData ¶
type LpaDetailsSavedData struct { App appcontext.Data Donor *donordata.Provided IsFirstCheck bool Errors validation.List }
type LpaStoreClient ¶
type LpaStoreClient interface { Lpa(ctx context.Context, lpaUID string) (*lpadata.Lpa, error) SendDonorConfirmIdentity(ctx context.Context, donor *donordata.Provided) error SendLpa(ctx context.Context, details *donordata.Provided) error SendDonorWithdrawLPA(ctx context.Context, lpaUID string) error }
type NotifyClient ¶
type OneLoginClient ¶
type OneLoginClient interface { AuthCodeURL(state, nonce, locale string, identity bool) (string, error) Exchange(ctx context.Context, code, nonce string) (idToken, accessToken string, err error) UserInfo(ctx context.Context, accessToken string) (onelogin.UserInfo, error) ParseIdentityClaim(userInfo onelogin.UserInfo) (identity.UserData, error) }
type RequestSigner ¶
type ScheduledStore ¶ added in v0.1393.0
type SessionStore ¶
type SessionStore interface { Login(r *http.Request) (*sesh.LoginSession, error) SetLogin(r *http.Request, w http.ResponseWriter, session *sesh.LoginSession) error OneLogin(r *http.Request) (*sesh.OneLoginSession, error) SetOneLogin(r *http.Request, w http.ResponseWriter, session *sesh.OneLoginSession) error SetPayment(r *http.Request, w http.ResponseWriter, session *sesh.PaymentSession) error Payment(r *http.Request) (*sesh.PaymentSession, error) ClearPayment(r *http.Request, w http.ResponseWriter) error }
type ShareCodeSender ¶
type ShareCodeSender interface {}
type ShareCodeStore ¶
type ShareCodeStore interface {
}type UidClient ¶
type UidClient interface {
CreateCase(context.Context, *uid.CreateCaseRequestBody) (uid.CreateCaseResponse, error)
}
Source Files ¶
- add_correspondent.go
- are_you_applying_for_fee_discount_or_exemption.go
- are_you_sure_you_no_longer_need_voucher.go
- can_you_sign_your_lpa.go
- certificate_provider_address.go
- certificate_provider_details.go
- change_mobile_number.go
- check_you_can_sign.go
- check_your_details.go
- check_your_lpa.go
- choose_a_new_certificate_provider.go
- choose_address.go
- choose_attorneys.go
- choose_attorneys_address.go
- choose_attorneys_guidance.go
- choose_attorneys_summary.go
- choose_people_to_notify.go
- choose_people_to_notify_address.go
- choose_people_to_notify_summary.go
- choose_replacement_attorneys.go
- choose_replacement_attorneys_address.go
- choose_replacement_attorneys_summary.go
- choose_someone_to_vouch_for_you.go
- completing_your_identity_confirmation.go
- confirm_person_allowed_to_vouch.go
- confirm_your_certificate_provider_is_not_related.go
- confirm_your_identity.go
- cost_of_repeat_application.go
- delete_lpa.go
- do_you_want_to_notify_people.go
- enter_access_code.go
- enter_correspondent_address.go
- enter_correspondent_details.go
- enter_replacement_trust_corporation.go
- enter_replacement_trust_corporation_address.go
- enter_trust_corporation.go
- enter_trust_corporation_address.go
- enter_voucher.go
- enum_howyouwillconfirmyouridentity.go
- fee_denied.go
- guidance.go
- how_do_you_know_your_certificate_provider.go
- how_long_have_you_known_certificate_provider.go
- how_should_attorneys_make_decisions.go
- how_should_replacement_attorneys_make_decisions.go
- how_should_replacement_attorneys_step_in.go
- how_will_you_confirm_your_identity.go
- how_would_certificate_provider_prefer_to_carry_out_their_role.go
- how_would_you_like_to_send_evidence.go
- identity_details.go
- identity_with_one_login.go
- identity_with_one_login_callback.go
- life_sustaining_treatment.go
- lpa_details_saved.go
- lpa_progress.go
- lpa_type.go
- pay.go
- payment_confirmation.go
- previous_application_number.go
- previous_fee.go
- register.go
- register_with_court_of_protection.go
- remove_attorney.go
- remove_person_to_notify.go
- remove_replacement_attorney.go
- remove_trust_corporation.go
- resend_witness_code.go
- restrictions.go
- send_us_your_evidence_by_post.go
- sign_your_lpa.go
- task_list.go
- upload_evidence.go
- upload_evidence_sse.go
- view_lpa.go
- want_replacement_attorneys.go
- what_you_can_do_now.go
- what_you_can_do_now_expired.go
- when_can_the_lpa_be_used.go
- which_fee_type_are_you_applying_for.go
- withdraw_lpa.go
- witnessing_as_certificate_provider.go
- witnessing_as_independent_witness.go
- witnessing_your_signature.go
- you_cannot_sign_your_lpa_yet.go
- your_address.go
- your_authorised_signatory.go
- your_date_of_birth.go
- your_email.go
- your_independent_witness.go
- your_independent_witness_address.go
- your_independent_witness_mobile.go
- your_lpa_language.go
- your_mobile.go
- your_name.go
- your_preferred_language.go
Click to show internal directories.
Click to hide internal directories.