Giter VIP home page Giter VIP logo

hewi-ng-lib's Introduction

hewi-ng-lib

common components for my angular apps

Komponenten

  • header: Malt den Header rot. Das ist eine Test-Komponente ohne sinvollen Hintergrund zum Lernen
  • messages: Anzeige von Info-, Warning- und Errormessage über einen Message-Service (reactive / subscribe)
  • modal: Allgemeine Dialog-Funktionalität
  • jwt: Utilities zur Kommunikation mit dem authprovider
  • logger: api mit der man client-errors zu einem Server posten kann. This implementation is based on Logging in Angular Applications

Notizen (chronologisch absteigend)

5.1.1

several vulnerable dependencies replaced with fixed versions

5.1.0

2 different possible oauth flow types

5.0.0

update to angular 9

4.1.0

Refactor AuthResult

4.0.0

removed unused properties from LogEntry (breaking change!)

3.2.1

cve fixed

3.2.0

jwt reduced to merely parsing hash from auth-app

3.1.0

more convenient console logger

3.0.0

upgrade to angular 8

2.2.4

logger: LogService, LogPublishers and LogEntry-Model

2.2.2

JWTService: Query-Parameter state und nonce vor der redirect url, da bei #-redirect-urls die alles nach # angeschnitten wird.

  • HateoasPayload als JSON-Objekt ergänzt
  • modal fertig zum Verwenden in Apps
  • messages-Komponente fertig zum Verwenden in Apps
  • by Angular-CLI generated component and a easy peasy make text to red h1- component just for playing with the tools

initialize the logging

  • implement a LogPublishersService
  • define an environment variable for the loglevel
  • in app.component.ts init the log level and register your LogPublishers. If you have a global error handler then it is best to init logging there.

Tests

Teste JWT mit folgender URL: http://localhost:4200/ #accessToken=75mdGzlDNrWD&expiresAt=1660600&tokenType=Bearer&state=login&idToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI0ZDhlZDAzYS01NzVhLTQ0MmUtODlmNC0wZTU0ZTUxZGQwZDgiLCJpc3MiOiJoZWlrZTI3MTgvYXV0aHByb3ZpZGVyIiwibmFtZSI6Ik1heCBNdXN0ZXJtYW5uIiwiZXhwIjoxNTYwNTg1MTIxLCJpYXQiOjE1NjA1ODQ4MjF9.RIYcSMQDG1A7GORQPOd9FvGRyOtcB2Wc5pnNeAxAb1eyHI8DL22baGz6xHnrH66Vl0wqABL4SQOgEDErWznjv66kMBaVF9mo0uMDRz9lns26EG4nRLLwVlvG8IEA4FSWL54553wR-AczYjdYnxJFv3CBIRIqg7uBc7m4gPKca73KZgpgH2PYqgjqPHg2MqEmMrC2Qyx2ksHBdrqMXPgu7qRKqFwifsCNOGs84Hf0-66jUx40E_vtXiU8reVe5aOSyPs1q6Z6aDdSSF1UjUkK1gQGSW21xq3zWin1GAj9kRSWaUkaaZ17wAGc4Shvd08Pky5prY8EhH6xqeM4ukSc-Q

Hinweis: expiresAt ist aus Kompatibilitätsgründen die UNIX-Epoche, also Anzahl der Sekunden seit 01.01.1970. Siehe epochconverter

hewi-ng-lib's People

Contributors

heike2718 avatar

Stargazers

 avatar

Watchers

 avatar

hewi-ng-lib's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.