In the JS example for custom role assignment at https://github.com/staticwebdev/roles-function/blob/main/api/GetRoles/index.js the bearer token for calling graph is retrieved by setting a const user = req.body and then getting the token from user.accessToken
The request body in C# is a stream that does not contain anything. What is the C# equivalent to the js example code?