getTokenFields() 보호된 메소드

Get the POST fields for the token request.
protected getTokenFields ( string $code ) : array
$code string
리턴 array
예제 #1
0
 /**
  * Get the Post fields for the token request.
  *
  * @param string $code
  *
  * @return array
  */
 protected function getTokenFields($code)
 {
     return parent::getTokenFields($code) + ['grant_type' => 'authorization_code'];
 }