public Response < AccessTokenDetails > redeemAuthorisationCodeForAccessToken ( final String authorisationCode ) throws FreesoundClientException { final OAuth2AccessTokenRequest tokenRequest = new OAuth2AccessTokenRequest ( clientId , clientSecret , authorisationCode ) ; return executeQuery ( tokenRequest ) ; }
Redeem an authorisation code received from freesound . org for an access token that can be used to make calls to OAuth2 protected resources .