Discussion
Called by the instance’s authenticated method. Checks if the instance has a refresh token. If it does, and the access token is expired, calls the refresh method.
Availability
Framework
func checkRefreshToken(tokens: inout Tokens) async throwsCalled by the instance’s authenticated method. Checks if the instance has a refresh token. If it does, and the access token is expired, calls the refresh method.