Skip to content

Commit c38d155

Browse files
author
Matt Raible
committed
Fixed layout and imports
1 parent a558d51 commit c38d155

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<mat-toolbar color="primary">
22
<span>Welcome to {{title}}!</span>
33
<span class="toolbar-spacer"></span>
4-
<button mat-raised-button color="accent" *ngIf="oktaAuth.isAuthenticated()"
4+
<button mat-raised-button color="accent"
5+
*ngIf="oktaAuth.isAuthenticated()"
56
(click)="oktaAuth.logout()">Logout</button>
67
</mat-toolbar>
78

@@ -11,5 +12,11 @@
1112
<app-car-list></app-car-list>
1213
</div>
1314

14-
<button mat-raised-button color="accent" *ngIf="!oktaAuth.isAuthenticated()"
15-
(click)="oktaAuth.loginRedirect()">Login</button>
15+
<mat-card>
16+
<mat-card-content>
17+
<button mat-raised-button color="accent"
18+
*ngIf="!oktaAuth.isAuthenticated()"
19+
(click)="oktaAuth.loginRedirect()">Login</button>
20+
21+
</mat-card-content>
22+
</mat-card>

kotlin-basic/client/src/app/app.module.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { MatButtonModule, MatCardModule, MatListModule, MatToolbarModule } from
88
import { OktaAuthModule, OktaCallbackComponent } from '@okta/okta-angular';
99
import { RouterModule, Routes } from '@angular/router';
1010
import { AuthInterceptor } from './shared';
11+
import { CarService, GiphyService } from './shared';
1112

1213
const config = {
1314
issuer: 'https://dev-158606.oktapreview.com/oauth2/default',

kotlin-basic/client/yarn.lock

+32
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,22 @@
191191
source-map "^0.5.6"
192192
tree-kill "^1.0.0"
193193

194+
195+
version "0.0.8"
196+
resolved "https://registry.yarnpkg.com/@okta/okta-angular/-/okta-angular-0.0.8.tgz#b205e5019af56ba415700e068388adb097818e64"
197+
dependencies:
198+
"@okta/okta-auth-js" "^1.8.0"
199+
200+
"@okta/okta-auth-js@^1.8.0":
201+
version "1.8.0"
202+
resolved "https://registry.yarnpkg.com/@okta/okta-auth-js/-/okta-auth-js-1.8.0.tgz#0fd7365f21c87339d5e24a36b4fe052430b7c728"
203+
dependencies:
204+
Base64 "0.3.0"
205+
q "1.4.1"
206+
reqwest "2.0.5"
207+
tiny-emitter "1.1.0"
208+
xhr2 "0.1.3"
209+
194210
"@schematics/angular@~0.1.0":
195211
version "0.1.2"
196212
resolved "https://registry.yarnpkg.com/@schematics/angular/-/angular-0.1.2.tgz#4d24e385c21bf2cc9ce4d3c91a8dbdd81aa463ac"
@@ -223,6 +239,10 @@
223239
version "2.53.43"
224240
resolved "https://registry.yarnpkg.com/@types/selenium-webdriver/-/selenium-webdriver-2.53.43.tgz#2de3d718819bc20165754c4a59afb7e9833f6707"
225241

242+
243+
version "0.3.0"
244+
resolved "https://registry.yarnpkg.com/Base64/-/Base64-0.3.0.tgz#6da261a4e80d4fa0f5c684254e5bccd16bbdce9f"
245+
226246
abbrev@1:
227247
version "1.1.1"
228248
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
@@ -4778,6 +4798,10 @@ [email protected], [email protected], requires-port@~1.0.0:
47784798
version "1.0.0"
47794799
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
47804800

4801+
4802+
version "2.0.5"
4803+
resolved "https://registry.yarnpkg.com/reqwest/-/reqwest-2.0.5.tgz#00fb15ac4918c419ca82b43f24c78882e66039a1"
4804+
47814805
resolve-cwd@^2.0.0:
47824806
version "2.0.0"
47834807
resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
@@ -5430,6 +5454,10 @@ timers-browserify@^2.0.2:
54305454
dependencies:
54315455
setimmediate "^1.0.4"
54325456

5457+
5458+
version "1.1.0"
5459+
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-1.1.0.tgz#ab405a21ffed814a76c19739648093d70654fecb"
5460+
54335461
54345462
version "0.0.24"
54355463
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.24.tgz#d6a5e198d14a9835cc6f2d7c3d9e302428c8cf12"
@@ -6011,6 +6039,10 @@ [email protected]:
60116039
version "1.0.0"
60126040
resolved "https://registry.yarnpkg.com/wtf-8/-/wtf-8-1.0.0.tgz#392d8ba2d0f1c34d1ee2d630f15d0efb68e1048a"
60136041

6042+
6043+
version "0.1.3"
6044+
resolved "https://registry.yarnpkg.com/xhr2/-/xhr2-0.1.3.tgz#cbfc4759a69b4a888e78cf4f20b051038757bd11"
6045+
60146046
xml-char-classes@^1.0.0:
60156047
version "1.0.0"
60166048
resolved "https://registry.yarnpkg.com/xml-char-classes/-/xml-char-classes-1.0.0.tgz#64657848a20ffc5df583a42ad8a277b4512bbc4d"

0 commit comments

Comments
 (0)