Documentation ¶
Index ¶
- func ConfirmYourDetails(tmpl template.Template, donorStore DonorStore, ...) page.Handler
- func EnterDateOfBirth(tmpl template.Template, donorStore DonorStore, ...) page.Handler
- func EnterReferenceNumber(tmpl template.Template, shareCodeStore ShareCodeStore, ...) page.Handler
- func Guidance(tmpl template.Template, donorStore DonorStore, ...) page.Handler
- func IdentityWithOneLogin(logger Logger, oneLoginClient OneLoginClient, store sesh.Store, ...) page.Handler
- func IdentityWithOneLoginCallback(tmpl template.Template, oneLoginClient OneLoginClient, sessionStore sesh.Store, ...) page.Handler
- func IdentityWithTodo(tmpl template.Template, now func() time.Time, identityOption identity.Option, ...) page.Handler
- func IdentityWithYoti(tmpl template.Template, sessionStore SessionStore, yotiClient YotiClient, ...) page.Handler
- func IdentityWithYotiCallback(tmpl template.Template, yotiClient YotiClient, ...) page.Handler
- func ProvideCertificate(tmpl template.Template, donorStore DonorStore, now func() time.Time, ...) page.Handler
- func ReadTheLpa(tmpl template.Template, donorStore DonorStore, ...) page.Handler
- func Register(rootMux *http.ServeMux, logger Logger, tmpls template.Templates, ...)
- func SelectYourIdentityOptions(tmpl template.Template, pageIndex int, ...) page.Handler
- func TaskList(tmpl template.Template, donorStore DonorStore, ...) page.Handler
- func WhoIsEligible(tmpl template.Template, donorStore DonorStore) page.Handler
- func YourChosenIdentityOptions(tmpl template.Template, certificateProviderStore CertificateProviderStore) page.Handler
- type CertificateProviderStore
- type DonorStore
- type Logger
- type NotifyClient
- type OneLoginClient
- type SessionStore
- type ShareCodeStore
- type Template
- type YotiClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfirmYourDetails ¶
func ConfirmYourDetails(tmpl template.Template, donorStore DonorStore, certificateProviderStore CertificateProviderStore) page.Handler
func EnterDateOfBirth ¶
func EnterDateOfBirth(tmpl template.Template, donorStore DonorStore, certificateProviderStore CertificateProviderStore) page.Handler
func EnterReferenceNumber ¶
func EnterReferenceNumber(tmpl template.Template, shareCodeStore ShareCodeStore, sessionStore sessions.Store, certificateProviderStore CertificateProviderStore) page.Handler
func Guidance ¶
func Guidance(tmpl template.Template, donorStore DonorStore, certificateProviderStore CertificateProviderStore) page.Handler
func IdentityWithOneLogin ¶
func IdentityWithOneLoginCallback ¶
func IdentityWithOneLoginCallback(tmpl template.Template, oneLoginClient OneLoginClient, sessionStore sesh.Store, certificateProviderStore CertificateProviderStore) page.Handler
func IdentityWithTodo ¶
func IdentityWithYoti ¶
func IdentityWithYoti(tmpl template.Template, sessionStore SessionStore, yotiClient YotiClient, certificateProviderStore CertificateProviderStore) page.Handler
func IdentityWithYotiCallback ¶
func IdentityWithYotiCallback(tmpl template.Template, yotiClient YotiClient, certificateProviderStore CertificateProviderStore) page.Handler
func ProvideCertificate ¶
func ProvideCertificate(tmpl template.Template, donorStore DonorStore, now func() time.Time, certificateProviderStore CertificateProviderStore) page.Handler
func ReadTheLpa ¶
func ReadTheLpa(tmpl template.Template, donorStore DonorStore, certificateProviderStore CertificateProviderStore) page.Handler
func Register ¶
func Register( rootMux *http.ServeMux, logger Logger, tmpls template.Templates, sessionStore SessionStore, donorStore DonorStore, oneLoginClient OneLoginClient, shareCodeStore ShareCodeStore, errorHandler page.ErrorHandler, yotiClient YotiClient, certificateProviderStore CertificateProviderStore, notFoundHandler page.Handler, )
func TaskList ¶
func TaskList(tmpl template.Template, donorStore DonorStore, certificateProviderStore CertificateProviderStore) page.Handler
func WhoIsEligible ¶
func WhoIsEligible(tmpl template.Template, donorStore DonorStore) page.Handler
func YourChosenIdentityOptions ¶
func YourChosenIdentityOptions(tmpl template.Template, certificateProviderStore CertificateProviderStore) page.Handler
Types ¶
type CertificateProviderStore ¶
type CertificateProviderStore interface { Create(ctx context.Context, sessionID string) (*actor.CertificateProviderProvidedDetails, error) Get(ctx context.Context) (*actor.CertificateProviderProvidedDetails, error) Put(ctx context.Context, certificateProvider *actor.CertificateProviderProvidedDetails) error GetAll(ctx context.Context) ([]*actor.CertificateProviderProvidedDetails, error) }
type NotifyClient ¶
type OneLoginClient ¶
type OneLoginClient interface { AuthCodeURL(state, nonce, locale string, identity bool) string Exchange(ctx context.Context, code, nonce string) (idToken, accessToken string, err error) UserInfo(ctx context.Context, accessToken string) (onelogin.UserInfo, error) ParseIdentityClaim(ctx context.Context, userInfo onelogin.UserInfo) (identity.UserData, error) }
type SessionStore ¶
type ShareCodeStore ¶
type ShareCodeStore interface {}
Source Files ¶
- confirm_your_details.go
- enter_date_of_birth.go
- enter_reference_number.go
- guidance.go
- identity_with_one_login.go
- identity_with_one_login_callback.go
- identity_with_todo.go
- identity_with_yoti.go
- identity_with_yoti_callback.go
- provide_certificate.go
- read_the_lpa.go
- register.go
- select_your_identity_options.go
- task_list.go
- who_is_eligible.go
- your_chosen_identity_options.go
Click to show internal directories.
Click to hide internal directories.