Method: Lark::Apis::Authen#refresh_access_token

Defined in:
lib/lark/apis/authen.rb

#refresh_access_token(token) ⇒ Object



19
20
21
22
23
24
25
# File 'lib/lark/apis/authen.rb', line 19

def refresh_access_token(token)
  request.post 'authen/v1/refresh_access_token', {
    refresh_token: token,
    app_access_token: app_access_token,
    grant_type: 'refresh_token'
  }
end