The GET /api/auth/linked/{linkedUserId} method retrieves the authentication token for a user linked to a specified linkedUserId. This endpoint is designed to allow secure access and operations within the banking application by obtaining the token associated with a linked user account.
Purpose:
Enables a user or system to retrieve an authentication token for a linked account, allowing for secure and authorized operations in the banking platform.
Response:
If the linked user exists and the request is authorized, the server returns an authentication token for the specified linked user.
Key Features:
This endpoint allows the retrieval of an authentication token for a linked user account, enabling authorized access to specific banking features and services.
Summary:
The GET /api/auth/linked/{linkedUserId} method provides a way to retrieve the authentication token for a linked user account within the banking application. This allows for secure access to specific features or operations tied to the linked user. The endpoint ensures security through authorization checks and token expiration, while offering flexibility in managing user access.