public function usingCredentials($name = null)
    {
        // Set credentials name.
        $this->getAccessManager()->setCredentialsName($name)->setCredentials($name);

        // Return this.
        return $this;
    }
public function usingCredentials($name = null)
    {
        // Set credentials name.
        $this->getAccessManager()->setCredentialsName($name)->setCredentials($name);

        // Return this.
        return $this;
    }
public function usingCredentials ( $ name = null ) { // Set credentials name. $ this -> getAccessManager ( ) -> setCredentialsName ( $ name ) -> setCredentials ( $ name ) ; // Return this. return $ this ; }
Specify the credentials name to use.

@param string $name

@return $this
Specify the credentials name to use .