|
| 1 | +<mat-card> |
| 2 | + <mat-card-header> |
| 3 | + <mat-card-title>Presentation Options</mat-card-title> |
| 4 | + <mat-card-subtitle> |
| 5 | + Configure the options for your presentation request. |
| 6 | + </mat-card-subtitle> |
| 7 | + </mat-card-header> |
| 8 | + |
| 9 | + <mat-card-content> |
| 10 | + <div class="request-options-grid"> |
| 11 | + <div class="request-options-row"> |
| 12 | + <div class="request-options-label"> |
| 13 | + <span>Presentation Profile</span> |
| 14 | + <p class="request-options-helper"> |
| 15 | + Defines the rules and constraints of the presentation |
| 16 | + </p> |
| 17 | + </div> |
| 18 | + <div class="request-options-control"> |
| 19 | + <mat-button-toggle-group |
| 20 | + [formControl]="presentationProfileControl" |
| 21 | + (valueChange)="profileChange.emit($event)" |
| 22 | + aria-label="Presentation Profile" |
| 23 | + > |
| 24 | + <mat-button-toggle value="openid4vp">OpenID4VP</mat-button-toggle> |
| 25 | + <mat-button-toggle value="haip">HAIP</mat-button-toggle> |
| 26 | + </mat-button-toggle-group> |
| 27 | + </div> |
| 28 | + </div> |
| 29 | + |
| 30 | + <div class="request-options-row"> |
| 31 | + <div class="request-options-label"> |
| 32 | + <span>Request URI Method</span> |
| 33 | + <p class="request-options-helper"> |
| 34 | + Choose how the wallet fetches the authorization request |
| 35 | + </p> |
| 36 | + </div> |
| 37 | + <div class="request-options-control"> |
| 38 | + <mat-button-toggle-group |
| 39 | + [formControl]="requestUriMethodControl" |
| 40 | + (valueChange)="requestUriMethodChange.emit($event)" |
| 41 | + aria-label="Request URI Method" |
| 42 | + > |
| 43 | + <mat-button-toggle value="get">GET</mat-button-toggle> |
| 44 | + <mat-button-toggle value="post">POST</mat-button-toggle> |
| 45 | + </mat-button-toggle-group> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + |
| 49 | + <div class="request-options-row"> |
| 50 | + <div class="request-options-label"> |
| 51 | + <span>Authorization URI Scheme</span> |
| 52 | + <p class="request-options-helper"> |
| 53 | + Specify a custom URI for the authorization request |
| 54 | + </p> |
| 55 | + </div> |
| 56 | + <div class="request-options-control"> |
| 57 | + <mat-form-field appearance="outline" class="config-option-field"> |
| 58 | + <mat-label>Authorization URI Scheme</mat-label> |
| 59 | + <input |
| 60 | + matInput |
| 61 | + placeholder="scheme://" |
| 62 | + [formControl]="authorizationSchemeControl" |
| 63 | + autocomplete="off" |
| 64 | + (input)=" |
| 65 | + authorizationSchemeChange.emit(authorizationSchemeControl.value) |
| 66 | + " |
| 67 | + /> |
| 68 | + </mat-form-field> |
| 69 | + </div> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + </mat-card-content> |
| 73 | +</mat-card> |
0 commit comments