Skip to content

Commit

Permalink
Merge pull request #93 from Brixel/featue/open-the-door
Browse files Browse the repository at this point in the history
fix: allow opening the door
  • Loading branch information
BerendWouters authored Aug 4, 2023
2 parents fce48c1 + 99ae6a1 commit 7eeff7e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions API/DoorRequest.API/tempkey.jwk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"alg":"RS256","d":"Dsta_rla9aAcJ72C_4Qryo-n3x3ln0JM1rmgqoGBXYfpeIIM8h1eWQiIuqNrMTXp8tH5iL7iKXrrZyPb-5nXScPpIa6KCcU12EYvJ0ZO6m4rtFP_cqVmfSmuBjgORc4shXPeommg7iDx4KfwriSIgsL4qE062GiPMk0U708Gr0iALhDO_80TX8WEWbZ0JVnQTLZf5n5LsZYO2eIpXHx0SXvUmqUdofwMPvI2Fh152-0dAz6o_nUdF-0yVSlJHte6oTWliY0jLRK78knYDiZYOTMlRP8oC5RFM1I-UvDnmu6eGfXwm3oRH2XOQO0bhMpUEpIoBD41NFxehpx-skivrQ","dp":"ydMOQEm03n7BmmnY2aRDQMUM0InjbV9ZcXzNQtB57qOeJOy-csU1PT2qFg1-4ALgzFz364XsNrhFvXr7U_6ypN9Ye5nZ-EwiX0IWMBIReaJnIG_vsrr4WDxt1LJc9HH_t1KM2wVHUvv9lFAxhmhxtqfEieW2hFDd3Zb3qBmdE-M","dq":"oxdvCgiy70ojuxEPjafqYZiiyEkjvM4_p-YNKVjDnLTg3eSRXyIzp27EW3p2TAZB4eHC-SaqUCjNSa0CK-aslGUpfdXcz0ajBR02DX9VTeoTODeVlIxtnqwQv34XMSJOJVNx05hKQKeOjs5UNGSszurrvuC7n1cULIEnIpUSnaE","e":"AQAB","kid":"03618745C863DC7B2B3B99F5E661D58A","kty":"RSA","n":"2HjQn16wUu_P-xDJ7rEHTPT-Yvr0k-oOzgP3UenuOgdfh_IjGl3gPpQiPv5ydiWPcgVkk_FORE49RjO7nGzCw4pszQ43OuJttZXFq5uIA_LcpjEG1pxUDQqG_usqkq_UT8_EALNuWocAfdijlYgCtAK1096Shr0pme-cHULtyPoYG5FK2XjCu6tiXfYjUHY5zQjf5eKKKfbsvAQAuOUNtx4rn-BH8ETWVPjwm2S9rXsjo1ePtWRBjedUcZOKm3g7vR_zjB-2iZverzqMk9W1C33yuH8C3tNmUlsYeX8Z-JecYR93N5SfzkDlp4vDoE8uhdR1ZxFqivJ9hgLYIUlpAQ","p":"4WOl0fpTS0up_59YpL3iiq2Qdq7drcQMaPLZ2-WM6SBrYlM8-CjUtxIzaZq8_S0xO9GfHbX0IPItjvoF2YZde0yy9AtiN5xXqV4EhR7IVyheECCqUJU0AgcIQz_o_zSzihs65uMRCSu-M2du4yJ7-wiRf2-ptKS2JPO7_y94lYs","q":"9d8hFJX7nl6FowgSRXw7OicIlF_9BRmDYY2M87EeXx6bk30fNYn08Ed9R-JUpi_CDNXpW1uCcV3sgr72cR4zansKees9XlYJrgdSIUq79LCT8Pz40P7JsxP4uAIEnL8TvLwz3QJXxeA-ISXM8qw-fXRVC6mpIM4VUK9eJjtLxSM","qi":"TwniHjYxoEdTn-MGu_B05wrBEepMpO9U1XiGOggi90nOMi3ojguyyk8rOM3jj78bOJkJ6ET1sZucwOd56nrRPP4Pu2uFDFRjpgbt_7-DkRRA00cPxlKdv9U1J2JWfOsa-0xmiLBQw9n9BN3bMdV0Mxb9jIRNcRiVbqCJOKCeC1s"}
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<mat-toolbar>
<button mat-raised-button color="primary">
<button
mat-raised-button
color="primary"
(click)="opendoor()"
*ngIf="canOpenDoor$ | async"
>
Open the door
</button>
<span class="example-spacer"></span>
Expand All @@ -8,9 +13,9 @@
<mat-card>
<mat-card-title>Open the door</mat-card-title>
<mat-card-content>
<button mat-raised-button color="primary" *ngIf="canOpenDoor$ | async">
Open the door
</button>
<button mat-raised-button color="primary" *ngIf="canOpenDoor$ | async">
Open the door
</button>
<p *ngIf="canSeeCode$ | async">Code sleutelkast: {{ code$ | async }}</p>
</mat-card-content>
</mat-card>
</mat-card>

0 comments on commit 7eeff7e

Please sign in to comment.