Sha256: 76e5a5a1f1d94fadc65af35a473eade56520560ed4a7a9f049ac4cbfb424cd64
Contents?: true
Size: 623 Bytes
Versions: 10
Compression:
Stored size: 623 Bytes
Contents
module ChatWork module Token # refresh access_token with refresh_token # # @param refresh_token [String] # @param scope [Array<String>] # # @return [Hash] # @example response # { # "access_token" => "new_access_token", # "token_type" => "Bearer", # "expires_in" => "1800", # "refresh_token" => "refresh_token", # "scope" => "users.all:read rooms.all:read_write contacts.all:read_write", # } def self.refresh_access_token(refresh_token, scope = []) ChatWork.oauth_client.refresh_access_token(refresh_token, scope) end end end
Version data entries
10 entries across 10 versions & 1 rubygems