Simplified factory to create an @see \io\vertx\jphp\ext\auth\oauth2\OAuth2Auth for OpenID Connect.
package |
Default |
---|
__construct()
discover( $arg0, $arg1, $arg2) : void
If the discovered config includes a json web key url, it will be also fetched and the JWKs will be loaded into the OAuth provider so tokens can be decoded.
Vertx
array | OAuth2ClientOptions
callable