Method: ADAL::AuthenticationContext#acquire_token_with_refresh_token
- Defined in:
- lib/adal/authentication_context.rb
#acquire_token_with_refresh_token(refresh_token, client_cred, resource = nil) ⇒ Object
Gets an access token using a previously acquire refresh token.
113 114 115 116 117 118 |
# File 'lib/adal/authentication_context.rb', line 113 def acquire_token_with_refresh_token( refresh_token, client_cred, resource = nil) fail_if_arguments_nil(refresh_token, client_cred) token_request_for(client_cred) .get_with_refresh_token(refresh_token, resource) end |