oauth4webapi
Advanced tools
Changelog
3.0.0 (2024-10-07)
DPoP()
exported function. This returns a handle that also maintains
its own LRU nonce cachesprocessAuthorizationCodeOpenIDResponse()
method was
removed in favour of processAuthorizationCodeResponse()
processAuthorizationCodeOAuth2Response()
method was
removed in favour of processAuthorizationCodeResponse()
processRefreshTokenResponse()
or processDeviceCodeResponse()
auth_time
is now required in all
ID Tokens if client.default_auth_time is setallowInsecureRequests
in the
HttpRequestOptions
interface to revert this behaviour.isOAuth2Error()
helper, all functions that
used to possibly return an OAuth2Error now reject with
ResponseBodyError or AuthorizationResponseError insteadparseWwwAuthenticateChallenges()
, all
functions verify process Response
now reject with
WWWAuthenticateChallengeError
insteadprotectedResourceRequest()
now rejects with
WWWAuthenticateChallengeError
when the Response has one