Q@K8$ F@j^Rɍ`O@@0@@X@ @@A A@ hR@ @8R@K8$ F@j^Rɍ`O@@ @ PAA@@8.(BpBBB@RQ@K8$ F@j^Rɍ`O@B0CHC`C@ S@ @BC@}@ >  8DDDPD@Y@ DPD@ |@YX= !ؑQ@p>psQ@8>b38R@E@ HsXEE $@AFLNRXUX\0bQ@K8$ F@j^Rɍ`O@p`qqrss0tt`wwxyy0zzP{{~x8R@K8$ F@j^Rɍ`O@ @Оx8ȠXxX8ȦPQ@K8$ F@j^Rɍ`O@ش(H(Hغh8Xx(P? ` p0PpPH@ p> !ؑQ@?psQ@?b38R@@80@p !"#@$%%&@'Q@K8$ F@j^Rɍ`O@2344P55677888X99x:;;X<==8>>X??x@8R@K8$ F@j^Rɍ`O@[(\\x]^^_```abb0ccPdde0ffg@hh`iiR@K8$ F@j^Rɍ`O@Xttu vv@ww`x yypz{{ ||@}%s_%s', $prefix, Token_Manager::TOKEN_SUFFIX ); // The option_name column in wp_options is a varchar(191) $max_length = 191; if ( strlen( $key ) > $max_length ) { throw new InvalidArgumentException( sprintf( __( 'The token auth prefix must be at most %d characters, including a trailing hyphen.', 'tribe-common' ), absint( $max_length - strlen( Token_Manager::TOKEN_SUFFIX ) ) ) ); } self::get_container()->singleton( self::TOKEN_OPTION_NAME, $key ); } /** * Set the token authorization expiration. * * @param int $seconds The time seconds the cache will exist for. * -1 = disabled, 0 = no expiration. * * @return void */ public static function set_auth_cache_expiration( int $seconds ): void { static::$auth_cache_expiration = $seconds; } /** * Get the token authorization expiration. * * @return int */ public static function get_auth_cache_expiration(): int { return static::$auth_cache_expiration; } /** * Set the underlying storage driver. * * @param class-string $class_name The FQCN to a storage driver. * * @return void */ public static function set_storage_driver( string $class_name ): void { static::$storage_driver = $class_name; } /** * Get the underlying storage driver. * * @return class-string */ public static function get_storage_driver(): string { $driver = static::$storage_driver; return $driver ?: Option_Storage::class; } }