Use Case 9.9 Scan QR

Overview

Aspect

Description

Summary

The user scans a QR offered on a third party website, to initiate a sharing or issuance session.

Goal

Starting a sharing or issuing session.

Preconditions

None

Postconditions

None

Triggered by

Additional documentation

None

Possible errors

  • Generic
  • Session expired

Logical test cases


Flow

#

Description

Next

1

PRIMARY SCENARIO

1.1

System determines whether camera permissions were granted

1.1a

Case: Camera permissions are granted

1.3

1.1b

Case: Camera permissions are not granted

1.2

1.2

System asks permission to use device camera

1.2a

User grants permission

1.3

1.2b

User rejects permission

2

1.3

System displays page ‘Scan QR’

  • Camera view
  • Actions: Toggle Flashlight, Back, Help

1.3a

User scans QR

1.4

1.3b

User selects Back

Back

1.3c

User selects Help

Go to: UC9.6 Get help

1.3d

User selects Toggle Flashlight
→ Flashlight turns on/off

1.4

System validates QR

1.4a

Case: QR is valid

1.5

1.4b

Case: QR is invalid

3

1.5

System resolves QR

  • Contacts the URL provided in the QR
  • Duration: 0.0 - 0.1 seconds

1.5a

Case: QR resolves to issuance flow

Go to: UC4.1 Obtain cards

1.5b

Case: QR resolves to sharing flow

Go to: UC5.1 Share data

1.5c

Case: QR resolves to login flow

Go to: UC5.2 Log in to Relying Party application

2

WHEN NO CAMERA PERMISSION

2.1

System displays screen ‘Camera permission required’

  • Actions: Grant Camera Permission, Back, Help

2.1a

User selects Back

Back

2.1b

User selects Help

Go to: UC9.6 Get help

2.1c

User selects Grant Camera Permission

1.2

3

WHEN QR INVALID

3.1

System displays prompt ‘Invalid QR’

  • Actions: OK

3.1a

User selects OK

1.3