lib/msidp/endpoint.rb
# Call the token endpoint and returns an issued access token.
#
# @param [URI::Generic] uri the endpoint URI.
# @param [Hash] params parameters to the endpoint.
# @param [Hash] supplement supplemental attributres for the access token.
# @return [AccessToken] the issued access token.
Call the token endpoint and returns an issued access token.
Call the token endpoint and returns an issued access token .
def token(uri, params, supplement = {})
      res = validate_json_response post(uri, params)
      suppl = params.select { |k| k.intern == :scope }.merge(supplement)
      AccessToken.parse(res, suppl)
    end
def token ( uri , params , supplement = { } ) res = validate_json_response post ( uri , params ) suppl = params . select { | k | k . intern == :scope } . merge ( supplement ) AccessToken . parse ( res , suppl ) end
Call the token endpoint and returns an issued access token.
Call the token endpoint and returns an issued access token .
the issued access token.
the issued access token .
AccessToken
uri
<not_specific>
params
<not_specific>
supplement
<not_specific>
<not_specific>
supplement supplemental attributres for the access token.
supplement supplemental attributres for the access token .