public function authenticationURL()
    {
        $clientId = config('twitch-api.client_id');
        $scopes = implode('+', config('twitch-api.scopes'));
        $redirectURL = config('twitch-api.redirect_url');

        return config('twitch-api.api_url') . '/kraken/oauth2/authorize?response_type=code&client_id=' . $clientId . '&redirect_uri=' . $redirectURL . '&scope=' . $scopes;
    }
public function authenticationURL()
    {
        $clientId = config('twitch-api.client_id');
        $scopes = implode('+', config('twitch-api.scopes'));
        $redirectURL = config('twitch-api.redirect_url');

        return config('twitch-api.api_url') . '/kraken/oauth2/authorize?response_type=code&client_id=' . $clientId . '&redirect_uri=' . $redirectURL . '&scope=' . $scopes;
    }
public function authenticationURL ( ) { $ clientId = config ( 'twitch-api.client_id' ) ; $ scopes = implode ( '+' , config ( 'twitch-api.scopes' ) ) ; $ redirectURL = config ( 'twitch-api.redirect_url' ) ; return config ( 'twitch-api.api_url' ) . '/kraken/oauth2/authorize?response_type=code&client_id=' . $ clientId . '&redirect_uri=' . $ redirectURL . '&scope=' . $ scopes ; }
Returns the authentication URL where the user needs to be redirected to
@return string
Returns the authentication URL where the user needs to be redirected to