Unauthorized
10 |You do not have access to this area.
11 |├── Angular ├── src │ ├── assets │ │ └── .gitkeep │ ├── favicon.ico │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── silent-refresh.html │ ├── app │ │ ├── shared │ │ │ ├── shared.module.ts │ │ │ └── api.service.ts │ │ ├── fallback.component.ts │ │ ├── feature-basics │ │ │ ├── public.component.ts │ │ │ ├── home.component.ts │ │ │ ├── admin1.component.ts │ │ │ └── basics.module.ts │ │ ├── sso │ │ │ ├── auth-module-config.ts │ │ │ ├── auth-config.ts │ │ │ ├── auth-guard.service.ts │ │ │ ├── auth-guard-with-forced-login.service.ts │ │ │ └── sso.module.ts │ │ ├── should-login.component.ts │ │ ├── feature-extras │ │ │ ├── admin2.component.ts │ │ │ └── extras.module.ts │ │ ├── app.module.ts │ │ ├── app-menu.component.ts │ │ └── app.component.ts │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ ├── tslint.json │ ├── browserslist │ ├── main.ts │ ├── styles.css │ ├── index.html │ ├── test.ts │ ├── karma.conf.js │ └── polyfills.ts ├── screenshot-001.png ├── e2e │ ├── src │ │ ├── app.po.ts │ │ └── app.e2e-spec.ts │ ├── tsconfig.e2e.json │ └── protractor.conf.js ├── .editorconfig ├── tsconfig.json ├── .gitignore ├── LICENSE ├── package.json ├── README.md ├── tslint.json └── angular.json ├── AngularOIDC ├── src │ ├── assets │ │ ├── .gitkeep │ │ ├── favicon.ico │ │ └── img │ │ │ ├── avatars │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ ├── 5.jpg │ │ │ ├── 6.jpg │ │ │ ├── 7.jpg │ │ │ └── 8.jpg │ │ │ └── brand │ │ │ ├── sygnet.svg │ │ │ └── logo.svg │ ├── app │ │ ├── app.component.css │ │ ├── views │ │ │ ├── cotacao │ │ │ │ ├── cotacao.component.scss │ │ │ │ ├── cotacao.module.ts │ │ │ │ ├── cotacao.component.ts │ │ │ │ ├── cotacao.service.ts │ │ │ │ └── cotacao.component.html │ │ │ ├── error │ │ │ │ ├── 404.component.ts │ │ │ │ ├── 500.component.ts │ │ │ │ ├── 404.component.html │ │ │ │ └── 500.component.html │ │ │ ├── base │ │ │ │ ├── cards.component.ts │ │ │ │ ├── tabs.component.ts │ │ │ │ ├── tables.component.ts │ │ │ │ ├── switches.component.ts │ │ │ │ ├── collapses.component.ts │ │ │ │ ├── tooltips.component.ts │ │ │ │ ├── popovers.component.ts │ │ │ │ ├── forms.component.ts │ │ │ │ ├── paginations.component.ts │ │ │ │ ├── carousels.component.ts │ │ │ │ ├── collapses.component.html │ │ │ │ ├── progress.component.ts │ │ │ │ ├── base.module.ts │ │ │ │ ├── progress.component.html │ │ │ │ ├── base-routing.module.ts │ │ │ │ ├── paginations.component.html │ │ │ │ ├── tooltips.component.html │ │ │ │ ├── popovers.component.html │ │ │ │ └── carousels.component.html │ │ │ ├── icons │ │ │ │ ├── flags.component.ts │ │ │ │ ├── coreui-icons.component.ts │ │ │ │ ├── font-awesome.component.ts │ │ │ │ ├── simple-line-icons.component.ts │ │ │ │ ├── icons.module.ts │ │ │ │ └── icons-routing.module.ts │ │ │ ├── buttons │ │ │ │ ├── buttons.component.ts │ │ │ │ ├── brand-buttons.component.ts │ │ │ │ ├── buttons.module.ts │ │ │ │ ├── dropdowns.component.ts │ │ │ │ └── buttons-routing.module.ts │ │ │ ├── notifications │ │ │ │ ├── badges.component.ts │ │ │ │ ├── modals.component.ts │ │ │ │ ├── notifications.module.ts │ │ │ │ ├── notifications-routing.module.ts │ │ │ │ ├── alerts.component.ts │ │ │ │ └── badges.component.html │ │ │ ├── theme │ │ │ │ ├── typography.component.ts │ │ │ │ ├── theme.module.ts │ │ │ │ ├── theme-routing.module.ts │ │ │ │ └── colors.component.ts │ │ │ ├── unauthorized │ │ │ │ ├── unauthorized.component.ts │ │ │ │ └── unauthorized.component.html │ │ │ ├── register │ │ │ │ ├── register.component.ts │ │ │ │ └── register.component.html │ │ │ ├── chartjs │ │ │ │ ├── chartjs.module.ts │ │ │ │ ├── chartjs-routing.module.ts │ │ │ │ ├── chartjs.component.ts │ │ │ │ └── chartjs.component.html │ │ │ ├── widgets │ │ │ │ ├── widgets-routing.module.ts │ │ │ │ └── widgets.module.ts │ │ │ ├── dashboard │ │ │ │ ├── dashboard-routing.module.ts │ │ │ │ └── dashboard.module.ts │ │ │ └── login │ │ │ │ ├── login-callback.component.ts │ │ │ │ ├── login.component.ts │ │ │ │ └── login.component.html │ │ ├── containers │ │ │ ├── index.ts │ │ │ └── default-layout │ │ │ │ ├── index.ts │ │ │ │ └── default-layout.component.ts │ │ ├── shared │ │ │ └── models │ │ │ │ └── moedas.model.ts │ │ ├── core │ │ │ ├── module-import-guard.ts │ │ │ ├── auth │ │ │ │ ├── auth-module-config.ts │ │ │ │ ├── auth-guard.service.ts │ │ │ │ ├── auth-config.ts │ │ │ │ └── auth-guard-with-forced-login.service.ts │ │ │ └── core.module.ts │ │ ├── app.component.ts │ │ ├── app.component.spec.ts │ │ ├── app.component.html │ │ ├── app.module.ts │ │ ├── app.routing.ts │ │ └── _nav.ts │ ├── scss │ │ ├── _variables.scss │ │ ├── _custom.scss │ │ ├── vendors │ │ │ ├── _variables.scss │ │ │ └── chart.js │ │ │ │ └── chart.scss │ │ └── style.scss │ ├── environments │ │ ├── environment.prod.ts │ │ └── environment.ts │ ├── typings.d.ts │ ├── tsconfig.app.json │ ├── tsconfig.spec.json │ ├── main.ts │ ├── test.ts │ ├── index.html │ └── polyfills.ts ├── e2e │ ├── tsconfig.e2e.json │ ├── app.po.ts │ └── app.e2e-spec.ts ├── .editorconfig ├── tsconfig.json ├── protractor.conf.js ├── karma.conf.js ├── package.json ├── tslint.json └── angular.json ├── VueJS ├── .eslintignore ├── static │ ├── img │ │ └── logo.png │ ├── silent-renew.html │ └── callback.html ├── test │ └── setup.js ├── .babelrc ├── index.html ├── build │ ├── utils.js │ ├── webpack.config.prod.js │ ├── webpack.config.dev.js │ └── webpack.config.base.js ├── .eslintrc.js ├── src │ ├── App.vue │ ├── services │ │ └── ApiService.js │ ├── pages │ │ ├── AccessDenied.vue │ │ ├── FreeUser.vue │ │ └── Admin.vue │ ├── router │ │ └── index.js │ └── index.js ├── LICENSE ├── .gitignore ├── package.json └── README.md └── .gitignore /Angular/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AngularOIDC/src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/app.component.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /VueJS/.eslintignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | /config/ 3 | /dist/ -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/cotacao/cotacao.component.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /AngularOIDC/src/scss/_variables.scss: -------------------------------------------------------------------------------- 1 | // Variable overrides 2 | -------------------------------------------------------------------------------- /AngularOIDC/src/scss/_custom.scss: -------------------------------------------------------------------------------- 1 | // Here you can add other styles 2 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/containers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './default-layout'; 2 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/containers/default-layout/index.ts: -------------------------------------------------------------------------------- 1 | export * from './default-layout.component'; 2 | -------------------------------------------------------------------------------- /Angular/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/Angular/src/favicon.ico -------------------------------------------------------------------------------- /AngularOIDC/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true 3 | }; 4 | -------------------------------------------------------------------------------- /Angular/screenshot-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/Angular/screenshot-001.png -------------------------------------------------------------------------------- /VueJS/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/VueJS/static/img/logo.png -------------------------------------------------------------------------------- /AngularOIDC/src/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/favicon.ico -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/1.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/2.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/3.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/4.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/5.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/6.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/7.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/assets/img/avatars/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brunobritodev/oidc-samples/master/AngularOIDC/src/assets/img/avatars/8.jpg -------------------------------------------------------------------------------- /AngularOIDC/src/typings.d.ts: -------------------------------------------------------------------------------- 1 | /* SystemJS module definition */ 2 | declare var module: NodeModule; 3 | interface NodeModule { 4 | id: string; 5 | } 6 | -------------------------------------------------------------------------------- /VueJS/test/setup.js: -------------------------------------------------------------------------------- 1 | // setup JSDOM 2 | require('jsdom-global')() 3 | 4 | // make expect available globally 5 | global.expect = require('expect') 6 | -------------------------------------------------------------------------------- /Angular/src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | production: true, 3 | ResourceServer: 'http://api.teste.work' 4 | }; 5 | -------------------------------------------------------------------------------- /Angular/src/silent-refresh.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AngularOIDC/src/scss/vendors/_variables.scss: -------------------------------------------------------------------------------- 1 | // Override Boostrap variables 2 | @import "../variables"; 3 | @import "node_modules/bootstrap/scss/mixins"; 4 | @import "node_modules/@coreui/coreui/scss/variables"; 5 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/shared/models/moedas.model.ts: -------------------------------------------------------------------------------- 1 | export class Moedas { 2 | public id: number; 3 | public nome: string; 4 | public simbolo: string; 5 | public rank: number; 6 | public preco: number; 7 | } -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/error/404.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: '404.component.html' 5 | }) 6 | export class P404Component { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/error/500.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: '500.component.html' 5 | }) 6 | export class P500Component { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/base/cards.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'cards.component.html' 5 | }) 6 | export class CardsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/base/tabs.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'tabs.component.html' 5 | }) 6 | export class TabsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/icons/flags.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'flags.component.html' 5 | }) 6 | export class FlagsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/scss/style.scss: -------------------------------------------------------------------------------- 1 | // If you want to override variables do it here 2 | @import "variables"; 3 | 4 | // Import styles 5 | @import "~@coreui/coreui/scss/coreui"; 6 | 7 | // If you want to add something do it here 8 | @import "custom"; 9 | -------------------------------------------------------------------------------- /Angular/src/app/shared/shared.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | 3 | import { ApiService } from './api.service'; 4 | 5 | @NgModule({ 6 | providers: [ 7 | ApiService, 8 | ] 9 | }) 10 | export class SharedModule { } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/base/tables.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'tables.component.html' 5 | }) 6 | export class TablesComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/base/switches.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'switches.component.html' 5 | }) 6 | export class SwitchesComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/buttons/buttons.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'buttons.component.html' 5 | }) 6 | export class ButtonsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/notifications/badges.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'badges.component.html' 5 | }) 6 | export class BadgesComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/theme/typography.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'typography.component.html' 5 | }) 6 | export class TypographyComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/unauthorized/unauthorized.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-dashboard', 5 | templateUrl: 'unauthorized.component.html' 6 | }) 7 | export class UnauthorizedComponent { } 8 | -------------------------------------------------------------------------------- /VueJS/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["@babel/preset-env", { 4 | "modules": "commonjs", 5 | "targets": { 6 | "browsers": ["> 1%", "last 2 versions", "not ie <= 8"], 7 | "node": "current" 8 | } 9 | }] 10 | ] 11 | } -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/icons/coreui-icons.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'coreui-icons.component.html' 5 | }) 6 | export class CoreUIIconsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/icons/font-awesome.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'font-awesome.component.html' 5 | }) 6 | export class FontAwesomeComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/buttons/brand-buttons.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'brand-buttons.component.html' 5 | }) 6 | export class BrandButtonsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /Angular/src/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "esnext", 6 | "types": [] 7 | }, 8 | "exclude": [ 9 | "src/test.ts", 10 | "**/*.spec.ts" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /AngularOIDC/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/e2e", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types":[ 8 | "jasmine", 9 | "node" 10 | ] 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/icons/simple-line-icons.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | templateUrl: 'simple-line-icons.component.html' 5 | }) 6 | export class SimpleLineIconsComponent { 7 | 8 | constructor() { } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /Angular/e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.css('app-root h1')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Angular/src/app/fallback.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-fallback', 5 | template: `This is the 🕳️ FALLBACK component.
`, 6 | }) 7 | export class FallbackComponent { 8 | } 9 | -------------------------------------------------------------------------------- /Angular/e2e/tsconfig.e2e.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": [ 8 | "jasmine", 9 | "jasminewd2", 10 | "node" 11 | ] 12 | } 13 | } -------------------------------------------------------------------------------- /Angular/src/app/feature-basics/public.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-public', 5 | template: `This is the 🌐 PUBLIC component.
`, 6 | }) 7 | export class PublicComponent { 8 | } 9 | -------------------------------------------------------------------------------- /AngularOIDC/e2e/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, element, by } from 'protractor/globals'; 2 | 3 | export class CoreUIPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getParagraphText() { 9 | return element(by.css('app-root h1')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /AngularOIDC/src/app/views/register/register.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-dashboard', 5 | templateUrl: 'register.component.html' 6 | }) 7 | export class RegisterComponent { 8 | 9 | constructor() { } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /VueJS/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |You need to be logged in to view requested page.
7 |Please log in before continuing.
`, 8 | }) 9 | export class ShouldLoginComponent { 10 | constructor(private authService: OAuthService) { } 11 | 12 | public login($event) { 13 | $event.preventDefault(); 14 | this.authService.initImplicitFlow(); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Angular/src/app/feature-basics/home.component.ts: -------------------------------------------------------------------------------- 1 | import { Component } from '@angular/core'; 2 | import { ApiService } from '../shared/api.service'; 3 | import { Observable } from 'rxjs'; 4 | 5 | @Component({ 6 | selector: 'app-home', 7 | template: `8 | This is the 🏠 HOME component. 9 | - {{ apiResponse | async }} 10 |
`, 11 | }) 12 | export class HomeComponent { 13 | apiResponse: ObservableHTML!!!`;
17 | }
18 |
--------------------------------------------------------------------------------
/AngularOIDC/src/app/views/base/forms.component.ts:
--------------------------------------------------------------------------------
1 | import { Component } from '@angular/core';
2 |
3 | @Component({
4 | templateUrl: 'forms.component.html'
5 | })
6 | export class FormsComponent {
7 |
8 | constructor() { }
9 |
10 | isCollapsed: boolean = false;
11 | iconCollapse: string = "icon-arrow-up";
12 |
13 | collapsed(event: any): void {
14 | // console.log(event);
15 | }
16 |
17 | expanded(event: any): void {
18 | // console.log(event);
19 | }
20 |
21 | toggleCollapse(): void {
22 | this.isCollapsed = !this.isCollapsed;
23 | this.iconCollapse = this.isCollapsed ? "icon-arrow-down" : "icon-arrow-up";
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/VueJS/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 | 8 | This is the 🔧 ADMIN 2 component. 9 | It will redirect you to login if needed. 10 | - {{ apiResponse | async }} 11 |
`, 12 | }) 13 | export class Admin2Component implements OnInit { 14 | apiResponse: Observable9 | This is the ⚙ ADMIN component. 10 | It will not redirect you to the login server. 11 | - {{ apiResponse | async }} 12 |
`, 13 | }) 14 | export class Admin1Component implements OnInit { 15 | apiResponse: ObservableThe page you are looking for was not found.
9 |The page you are looking for is temporarily unavailable.
9 |16 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo 17 | consequat. 18 |
19 || Nome | 14 |Simbolo | 15 |Rank | 16 |Preco | 17 |
|---|---|---|---|
| {{cotacao.nome}} | 22 |{{cotacao.simbolo}} | 23 |{{cotacao.rank}} | 24 |USD {{ cotacao.preco | currency }} | 25 |
You do not have access to this area.
11 || HEX: | 18 |${rgbToHex(background)} | 19 |
| RGB: | 22 |${background} | 23 |
Sign In to your account
11 |Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
26 | 27 |Create your account
10 |This is part of the app.component. Below is the router outlet.
13 |You can go to a url without a route to see the fallback route.
18 |20 | 21 | 22 | 23 |
24 |25 | 26 | 27 | 28 |
29 || IsAuthenticated | {{isAuthenticated | async}} |
|---|---|
| HasValidToken | {{hasValidToken}} |
| IsDoneLoading | {{isDoneLoading | async}} |
| CanActivateProtectedRoutes | {{canActivateProtectedRoutes | async}} |
| IdentityClaims | {{identityClaims | json}} |
| AccessToken | {{accessToken}} |
| IdToken | {{idToken}} |
The selected page no: {{currentPage}}/{{smallnumPages}}
30 | Page: {{bigCurrentPage}} / {{numPages}}
53 | body
96 | Desktop
121 | 126 |Mobile
130 | 135 |145 | 147 | This text has attached tooltip 148 | 149 |
150 | 151 | 154 | 157 |focus trigger
64 | body
111 | 148 | 150 | This text has attached popover 151 | 152 |
153 | 156 | 159 |Nulla vitae elit libero, a pharetra augue mollis interdum.
41 |Lorem ipsum dolor sit amet, consectetur adipiscing elit.
48 |Praesent commodo cursus magna, vel scelerisque nisl consectetur.
55 |Nulla vitae elit libero, a pharetra augue mollis interdum.
76 |Lorem ipsum dolor sit amet, consectetur adipiscing elit.
83 |Praesent commodo cursus magna, vel scelerisque nisl consectetur.
90 |{{slide.text}}
110 |