class Avmtrf1::Tools::Msgraph::Api
def access_token
-
(String)
-
def access_token token_info.fetch(:token).fetch(:accessToken) end
def clear_token_info
-
(void)
-
def clear_token_info token_info_cache.clear reset_cache(:token_info) end
def fs_object_id
def fs_object_id client_id.to_s.variableize end
def new_token_info
def new_token_info ::Avmtrf1::Tools::Msgraph::TokenRetrieve.new(client_id).result end
def request(service_url_suffix, headers = {}, &body_data_proc)
-
(EacRest::Request)
-
def request(service_url_suffix, headers = {}, &body_data_proc) super .header('Authorization', "Bearer #{access_token}") end
def token_info_cache
-
(EacFs::StorageTree)
-
def token_info_cache fs_cache.child('token') end
def token_info_uncached
def token_info_uncached token_info_cache.read_or_store_yaml { new_token_info } end