Commit 29096688 authored by Ivar Derksen's avatar Ivar Derksen
Browse files

Refactor eventname: ClientReturnUrlFound -> ClientReturnUrlSet

parent 601cf561
......@@ -83,6 +83,6 @@ func (h *keyshareEnrollmentHandler) KeyshareEnrollmentMissing(manager irma.Schem
func (h *keyshareEnrollmentHandler) UnsatisfiableRequest(request irma.SessionRequest, ServerName irma.TranslatedString, missing MissingAttributes) {"Keyshare enrollment failed: unsatisfiable"))
func (h *keyshareEnrollmentHandler) ClientReturnURLFound(clientReturnURL string) {
func (h *keyshareEnrollmentHandler) ClientReturnURLSet(clientReturnURL string) {"Keyshare enrollment session unexpectedly found an external return url"))
......@@ -30,7 +30,7 @@ type PinHandler func(proceed bool, pin string)
// A Handler contains callbacks for communication to the user.
type Handler interface {
StatusUpdate(action irma.Action, status irma.Status)
ClientReturnURLFound(clientReturnURL string)
ClientReturnURLSet(clientReturnURL string)
Success(result string)
Failure(err *irma.SessionError)
......@@ -313,7 +313,7 @@ func (session *session) processSessionInfo() {
// Handle ClientReturnURL if one is found in the session request
if session.request.Base().ClientReturnURL != "" {
switch session.Action {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment