TokenFactory.php 286 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <?php namespace NinjaForms\Blocks\Authentication; /** * Creates a new token using the stored secret. */ class TokenFactory { /** * @return Token */ public static function make() { return new Token( SecretStore::getOrCreate() ); } }