Cidaas / cidaas-sdk-php

With this SDK, you can integrate cidaas smoothly and with minimal effort into your PHP application. It enables you to map the most important user flows for OAuth2 and OIDC compliant authentication. Secure – Fast – And unrivaled Swabian.
https://www.cidaas.com
MIT License
7 stars 7 forks source link

Add Client-Init Method #7

Closed skurrilo closed 2 years ago

skurrilo commented 2 years ago

This change adds a new initClient() method and moves the fetching of the openid configuration from the constructor to the initClient() method. This speeds up sites, which instantiates an Cidaas-claas on every request, but don't use the Cidaas class.

Before any URL is read from the configuration array, the initClient() method has to be called. Added this to every method.

When you merge this, pleases tag a new version.