Documentation ¶
Overview ¶
Package attorneypage provides the pages that an attorney or trust corporation interacts with.
Index ¶
- Constants
- func ConfirmDontWantToBeAttorneyLoggedOut(tmpl template.Template, shareCodeStore ShareCodeStore, ...) page.Handler
- func EnterReferenceNumber(tmpl template.Template, shareCodeStore ShareCodeStore, ...) page.Handler
- func EnterReferenceNumberOptOut(tmpl template.Template, shareCodeStore ShareCodeStore, ...) page.Handler
- func Register(rootMux *http.ServeMux, logger Logger, commonTmpls, tmpls template.Templates, ...)
- type AddressClient
- type AttorneyStore
- type DashboardStore
- type ErrorHandler
- type Handler
- func ConfirmDontWantToBeAttorney(tmpl template.Template, attorneyStore AttorneyStore, notifyClient NotifyClient, ...) Handler
- func ConfirmYourDetails(tmpl template.Template, attorneyStore AttorneyStore) Handler
- func Guidance(tmpl template.Template) Handler
- func PhoneNumber(tmpl template.Template, attorneyStore AttorneyStore) Handler
- func Progress(tmpl template.Template) Handler
- func ReadTheLpa(tmpl template.Template, attorneyStore AttorneyStore) Handler
- func Sign(tmpl template.Template, attorneyStore AttorneyStore, ...) Handler
- func TaskList(tmpl template.Template) Handler
- func WouldLikeSecondSignatory(tmpl template.Template, attorneyStore AttorneyStore, ...) Handler
- func YourPreferredLanguage(tmpl template.Template, attorneyStore AttorneyStore) Handler
- type Localizer
- type Logger
- type LpaStoreClient
- type LpaStoreResolvingService
- type NotifyClient
- type OneLoginClient
- type SessionStore
- type ShareCodeStore
- type Template
Constants ¶
View Source
const ( None handleOpt = 1 << iota RequireSession CanGoBack )
Variables ¶
This section is empty.
Functions ¶
func ConfirmDontWantToBeAttorneyLoggedOut ¶
func ConfirmDontWantToBeAttorneyLoggedOut(tmpl template.Template, shareCodeStore ShareCodeStore, lpaStoreResolvingService LpaStoreResolvingService, sessionStore SessionStore, notifyClient NotifyClient, appPublicURL string, lpaStoreClient LpaStoreClient) page.Handler
func EnterReferenceNumber ¶
func EnterReferenceNumber(tmpl template.Template, shareCodeStore ShareCodeStore, sessionStore SessionStore, attorneyStore AttorneyStore) page.Handler
func EnterReferenceNumberOptOut ¶
func EnterReferenceNumberOptOut(tmpl template.Template, shareCodeStore ShareCodeStore, sessionStore SessionStore) page.Handler
func Register ¶
func Register( rootMux *http.ServeMux, logger Logger, commonTmpls, tmpls template.Templates, sessionStore SessionStore, attorneyStore AttorneyStore, oneLoginClient OneLoginClient, shareCodeStore ShareCodeStore, errorHandler page.ErrorHandler, dashboardStore DashboardStore, lpaStoreClient LpaStoreClient, lpaStoreResolvingService LpaStoreResolvingService, notifyClient NotifyClient, appPublicURL string, )
Types ¶
type AddressClient ¶
type AttorneyStore ¶
type DashboardStore ¶
type ErrorHandler ¶
type ErrorHandler func(http.ResponseWriter, *http.Request, error)
type Handler ¶
type Handler func(data appcontext.Data, w http.ResponseWriter, r *http.Request, details *attorneydata.Provided, lpa *lpadata.Lpa) error
func ConfirmDontWantToBeAttorney ¶
func ConfirmDontWantToBeAttorney(tmpl template.Template, attorneyStore AttorneyStore, notifyClient NotifyClient, appPublicURL string, lpaStoreClient LpaStoreClient) Handler
func ConfirmYourDetails ¶
func ConfirmYourDetails(tmpl template.Template, attorneyStore AttorneyStore) Handler
func PhoneNumber ¶ added in v0.1380.0
func PhoneNumber(tmpl template.Template, attorneyStore AttorneyStore) Handler
func ReadTheLpa ¶
func ReadTheLpa(tmpl template.Template, attorneyStore AttorneyStore) Handler
func Sign ¶
func Sign(tmpl template.Template, attorneyStore AttorneyStore, lpaStoreClient LpaStoreClient, now func() time.Time) Handler
func WouldLikeSecondSignatory ¶
func WouldLikeSecondSignatory(tmpl template.Template, attorneyStore AttorneyStore, lpaStoreClient LpaStoreClient) Handler
func YourPreferredLanguage ¶
func YourPreferredLanguage(tmpl template.Template, attorneyStore AttorneyStore) Handler
type LpaStoreClient ¶
type NotifyClient ¶
type OneLoginClient ¶
type SessionStore ¶
type SessionStore interface { Login(r *http.Request) (*sesh.LoginSession, error) LpaData(r *http.Request) (*sesh.LpaDataSession, error) OneLogin(r *http.Request) (*sesh.OneLoginSession, error) SetLogin(r *http.Request, w http.ResponseWriter, session *sesh.LoginSession) error SetLpaData(r *http.Request, w http.ResponseWriter, lpaDataSession *sesh.LpaDataSession) error SetOneLogin(r *http.Request, w http.ResponseWriter, session *sesh.OneLoginSession) error }
type ShareCodeStore ¶
type ShareCodeStore interface {}
Source Files ¶
- confirm_dont_want_to_be_attorney.go
- confirm_dont_want_to_be_attorney_logged_out.go
- confirm_your_details.go
- enter_reference_number.go
- enter_reference_number_opt_out.go
- guidance.go
- phone_number.go
- progress.go
- read_the_lpa.go
- register.go
- sign.go
- task_list.go
- would_like_second_signatory.go
- your_preferred_language.go
Click to show internal directories.
Click to hide internal directories.