Function OAuthSession.refresh

Refresh the access token of this session.

final void refresh() @safe;

Throws

OAuthException if no refresh token is available or the authorization fails otherwise.