public function getAuthenticationUrl($state = null, $forceVerify = false)
    {
        return 'https://api.twitch.tv/kraken/oauth2/authorize?response_type=code'
        .'&client_id='.config('twitch-api.client_id')
        .'&redirect_uri='.config('twitch-api.redirect_url')
        .'&scope='.implode(config('twitch-api.scopes'), '+')
        .'&state='.$state
        .'&force_verify='.($forceVerify ? 'true' : 'false');
    }
public function getAuthenticationUrl($state = null, $forceVerify = false)
    {
        return 'https://api.twitch.tv/kraken/oauth2/authorize?response_type=code'
        .'&client_id='.config('twitch-api.client_id')
        .'&redirect_uri='.config('twitch-api.redirect_url')
        .'&scope='.implode(config('twitch-api.scopes'), '+')
        .'&state='.$state
        .'&force_verify='.($forceVerify ? 'true' : 'false');
    }
public function getAuthenticationUrl ( $ state = null , $ forceVerify = false ) { return 'https://api.twitch.tv/kraken/oauth2/authorize?response_type=code' . '&client_id=' . config ( 'twitch-api.client_id' ) . '&redirect_uri=' . config ( 'twitch-api.redirect_url' ) . '&scope=' . implode ( config ( 'twitch-api.scopes' ) , '+' ) . '&state=' . $ state . '&force_verify=' . ( $ forceVerify ? 'true' : 'false' ) ; }
Get the Twitch OAuth url where the user signs in through Twitch.

@param string $state       Will be appended to the redirect_uri to help avoid cross-stire scripting
@param bool   $forceVerify Prompt user to confirm authorization, allowing users to switch accounts

@return string Authentication url
Get the Twitch OAuth url where the user signs in through Twitch .