Access token response creation options.
OAuth token response with a signed access token JWT, and a signed Refresh Token JWT when requested.
If DPoP binding is required but missing, if Refresh Token issuance is requested without a valid DPoP configuration or lifetime, if the signer has no resolvable kid for the Refresh Token, or if response creation otherwise fails, including validation failures from the generated JWT headers or payloads.
Creates an OAuth 2.0 access token response where
access_tokenis a signed JWT access token profile (typ=at+jwt) andtoken_typeisDPoPorBearer.The JWT payload always includes
aud,iss,sub,client_id,iat,exp, and a randomjti. Whendpopis provided,cnf.jktis added using the SHA-256 JWK thumbprint.When
refreshTokenExpiresInSecondsis provided, a DPoP-bound Refresh Token JWT (typ=rt+jwt) is generated, signed, and returned asrefresh_token. Refresh Token issuance requirestokenTypeto beDPoPwith adpoppublic key, and results innbfequal to the Access Tokenexpandexplater than that.