Function: getUserInfo()
function getUserInfo(cluster: string): any
Retrieves the user information encoded in the authentication token for a given cluster.
Parameters
Parameter | Type | Description |
---|---|---|
cluster | string | The name of the cluster. |
Returns
any
The decoded user information from the token's payload.