diff --git a/component/Fixture/DataStructure/AccessToken.php b/component/Fixture/DataStructure/AccessToken.php index 6a03280..3b6cb9b 100644 --- a/component/Fixture/DataStructure/AccessToken.php +++ b/component/Fixture/DataStructure/AccessToken.php @@ -25,6 +25,17 @@ public static function get(): EntityAccessToken ); } + public static function getWithoutUser(): EntityAccessToken + { + return EntityAccessToken::generate( + FixtureSslKey::get(), + new AuthMethod(AuthMethod::API_KEY), + FixtureApplication::get(), + null, + 86400 + ); + } + public static function getExpired(): EntityAccessToken { return EntityAccessToken::generate(