lib/cerner/oauth1a/access_token.rb
# Internal: Used by #authenticate to load the keys
Used by #authenticate to load the keys
Used by #authenticate to load the keys
def load_keys(access_token_agent, keys_version)
        unless keys_version
          raise OAuthError.new('token missing KeysVersion', nil, 'parameter_rejected', 'oauth_token', @realm)
        end
        begin
          access_token_agent.retrieve_keys(keys_version)
        rescue OAuthError
          raise OAuthError.new(
            'token references invalid keys version',
            nil,
            'parameter_rejected',
            'oauth_token',
            @realm
          )
        end
      end
def load_keys ( access_token_agent , keys_version ) unless keys_version raise OAuthError . new ( 'token missing KeysVersion' , nil , 'parameter_rejected' , 'oauth_token' , @realm ) end begin access_token_agent . retrieve_keys ( keys_version ) rescue OAuthError raise OAuthError . new ( 'token references invalid keys version' , nil , 'parameter_rejected' , 'oauth_token' , @realm ) end end
Internal: Used by #authenticate to load the keys
Internal : Used by #authenticate to load the keys
access_token_agent
keys_version