Closed sebastianbouckaert closed 3 years ago
Hi @sebastianbouckaert ,
The GetAccessTokenAsync
of the ConnectClient
allows you to refresh a token by passing in the RefreshToken
parameter on the TokenRequest
class. It returns an object of type Task<TokenResponse>
.
The RevokeTokenAsync
which returns a Task
can only be used to revoke a token.
Kind regards, Vincent
There might be something missing here. The TokenRequest
class has a constructor that takes code
and redirectUri
. The property GrantType
and RefreshToken
cannot be assigned to. (Version 2.1.0.9)
Can the TokenRequest
class be extended with a constructor to set grantType
and refreshToken
?
The method to refresh the token does not seems to be implemented correctly? It does does not return an object but a Task ?