authorize

abstract suspend fun authorize(oidcConfig: OidcConfig<T>): AuthCode

Authorize the Agent with the OpenID Connect provider. Before returning the AuthCode, the agent should verify the response from the OpenID Connect provider.

Return

The authorization code.

Parameters

oidcConfig

The configuration for the OpenID Connect client.