public function setAuthorizationFlow($name, $flow, $authorizationUrl, $tokenUrl, $refreshUrl = null, array $scopes = null)
    {
        if (!isset($this->authFlows[$name])) {
            $this->authFlows[$name] = [];
        }

        $this->authFlows[$name][] = [$flow, $authorizationUrl, $tokenUrl, $refreshUrl, $scopes];
    }
public function setAuthorizationFlow($name, $flow, $authorizationUrl, $tokenUrl, $refreshUrl = null, array $scopes = null)
    {
        if (!isset($this->authFlows[$name])) {
            $this->authFlows[$name] = [];
        }

        $this->authFlows[$name][] = [$flow, $authorizationUrl, $tokenUrl, $refreshUrl, $scopes];
    }
public function setAuthorizationFlow ( $ name , $ flow , $ authorizationUrl , $ tokenUrl , $ refreshUrl = null , array $ scopes = null ) { if ( ! isset ( $ this -> authFlows [ $ name ] ) ) { $ this -> authFlows [ $ name ] = [ ] ; } $ this -> authFlows [ $ name ] [ ] = [ $ flow , $ authorizationUrl , $ tokenUrl , $ refreshUrl , $ scopes ] ; }
Configuration details for a supported OAuth Flow

@param string $name
@param integer $flow
@param string $authorizationUrl
@param string $tokenUrl
@param string|null $refreshUrl
@param array|null $scopes
Configuration details for a supported OAuth Flow