You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies a helper function that shall be invoked to transform the requested and granted Rich Authorization Request details for inclusion in the Access Token Response as authorization_details and assignment to the issued Access Token during the ciba grant. This function enables resource-specific filtering and transformation of authorization details according to token endpoint policy. The function shall return an array of authorization details or undefined.
2087
+
2088
+
2089
+
_**default value**_:
2090
+
```js
2091
+
rarForBackchannelResponse(ctx, resourceServer) {
2092
+
// decision points:
2093
+
// - ctx.oidc.client
2094
+
// - resourceServer
2095
+
// - ctx.oidc.entities.BackchannelAuthenticationRequest.rar (the rar applied during await provider.backchannelResult())
2096
+
// - ctx.oidc.entities.BackchannelAuthenticationRequest.params.authorization_details (the original backchannel authentication request authorization_details object)
2097
+
// - ctx.oidc.params.authorization_details (unparsed authorization_details from the body params in the Access Token Request)
'features.richAuthorizationRequests.rarForBackchannelResponse not implemented',
2101
+
);
2102
+
}
2103
+
```
2104
+
2083
2105
#### rarForCodeResponse
2084
2106
2085
-
Specifies a helper function that shall be invoked to transform the requested and granted Rich Authorization Request details for inclusion in the Access Token Response as authorization_details and assignment to the issued Access Token. This function enables resource-specific filtering and transformation of authorization details according to token endpoint policy. The function shall return an array of authorization details or undefined.
2107
+
Specifies a helper function that shall be invoked to transform the requested and granted Rich Authorization Request details for inclusion in the Access Token Response as authorization_details and assignment to the issued Access Token during the authorization code grant. This function enables resource-specific filtering and transformation of authorization details according to token endpoint policy. The function shall return an array of authorization details or undefined.
* description: Specifies a helper function that shall be invoked to transform the requested
1957
+
* and granted Rich Authorization Request details for inclusion in the Access Token Response
1958
+
* as authorization_details and assignment to the issued Access Token during the ciba grant.
1959
+
* This function enables
1960
+
* resource-specific filtering and transformation of authorization details according to
1961
+
* token endpoint policy. The function shall return an array of authorization details or undefined.
1962
+
*/
1963
+
rarForBackchannelResponse(ctx,resourceServer){
1964
+
// decision points:
1965
+
// - ctx.oidc.client
1966
+
// - resourceServer
1967
+
// - ctx.oidc.entities.BackchannelAuthenticationRequest.rar (the rar applied during await provider.backchannelResult())
1968
+
// - ctx.oidc.entities.BackchannelAuthenticationRequest.params.authorization_details (the original backchannel authentication request authorization_details object)
1969
+
// - ctx.oidc.params.authorization_details (unparsed authorization_details from the body params in the Access Token Request)
mustChange('features.richAuthorizationRequests.rarForBackchannelResponse','transform the requested and granted RAR details to be returned in the Access Token Response as authorization_details as well as assigned to the issued Access Token');
1972
+
thrownewError(
1973
+
'features.richAuthorizationRequests.rarForBackchannelResponse not implemented',
0 commit comments