SocialiteProviders\Manager\OAuth2\AbstractProvider::parseExpiresIn PHP Method

parseExpiresIn() protected method

Get the expires in from the token response body.
protected parseExpiresIn ( string $body ) : string
$body string
return string
    protected function parseExpiresIn($body)
    {
        return Arr::get($body, 'expires_in');
    }