Skip to content

Commit 8d5c176

Browse files
authored
Merge pull request #38 from magento-commerce/imported-magento-security-package-294
MC-40870: 290 - Mark interfaces as api, refactoring interfaces
2 parents ce6795c + 366106a commit 8d5c176

34 files changed

+67
-1
lines changed

TwoFactorAuth/Api/AdminTokenServiceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
/**
1414
* Obtain basic information about the user required to setup or use 2fa
15+
*
16+
* @api
1517
*/
1618
interface AdminTokenServiceInterface extends OriginalTokenServiceInterface
1719
{

TwoFactorAuth/Api/AuthyAuthenticateInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* Represents the authy provider authentication
13+
*
14+
* @api
1315
*/
1416
interface AuthyAuthenticateInterface
1517
{

TwoFactorAuth/Api/AuthyConfigureInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* Represents the authy provider
16+
*
17+
* @api
1618
*/
1719
interface AuthyConfigureInterface
1820
{

TwoFactorAuth/Api/CountryRepositoryInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
/**
1616
* Countries repository
1717
*
18+
* @api
1819
* @SuppressWarnings(PHPMD.ShortVariable)
1920
*/
2021
interface CountryRepositoryInterface

TwoFactorAuth/Api/Data/AdminTokenResponseInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
/**
1414
* Represents the response to the new admin token response
15+
*
16+
* @api
1517
*/
1618
interface AdminTokenResponseInterface extends ExtensibleDataInterface
1719
{

TwoFactorAuth/Api/Data/AuthyDeviceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Authy device data interface
14+
*
15+
* @api
1416
*/
1517
interface AuthyDeviceInterface extends ExtensibleDataInterface
1618
{

TwoFactorAuth/Api/Data/AuthyRegistrationPromptResponseInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
/**
1414
* Response for device registration prompt
15+
*
16+
* @api
1517
*/
1618
interface AuthyRegistrationPromptResponseInterface extends ExtensibleDataInterface
1719
{

TwoFactorAuth/Api/Data/CountryInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Country entity interface
14+
*
15+
* @api
1416
*/
1517
interface CountryInterface extends ExtensibleDataInterface
1618
{

TwoFactorAuth/Api/Data/CountrySearchResultsInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Represent country search results
14+
*
15+
* @api
1416
*/
1517
interface CountrySearchResultsInterface extends SearchResultsInterface
1618
{

TwoFactorAuth/Api/Data/DuoDataInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
/**
1313
* Represents the data needed to use duo
14+
*
15+
* @api
1416
*/
1517
interface DuoDataInterface extends ExtensibleDataInterface
1618
{

0 commit comments

Comments
 (0)