public static function getAnonymous(): Principal
    {
        if (self::$anon === null) {
            self::$anon = new self(null, [], true);
        }
        return self::$anon;
    }
public static function getAnonymous(): Principal
    {
        if (self::$anon === null) {
            self::$anon = new self(null, [], true);
        }
        return self::$anon;
    }
public static function getAnonymous ( ) : Principal { if ( self :: $ anon === null ) { self :: $ anon = new self ( null , [ ] , true ) ; } return self :: $ anon ; }
Gets a token representing an anonymous authentication.

@return Principal The anonymous principal
Gets a token representing an anonymous authentication .