OpenIDConnectAuth

Simplified factory to create an @see \io\vertx\jphp\ext\auth\oauth2\OAuth2Auth for OpenID Connect.

package

Default

Methods

__construct

__construct() 

Create a OAuth2Auth provider for OpenID Connect Discovery. The discovery will use the given site in the configuration options and attempt to load the well known descriptor.

discover( $arg0,  $arg1,  $arg2) : void
static

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.

Arguments

$arg0

Vertx

$arg1

array | OAuth2ClientOptions

$arg2

callable