mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-14 20:02:40 +09:00
changes
This commit is contained in:
19
vendor/knplabs/github-api/lib/Github/Exception/TwoFactorAuthenticationRequiredException.php
vendored
Normal file
19
vendor/knplabs/github-api/lib/Github/Exception/TwoFactorAuthenticationRequiredException.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Github\Exception;
|
||||
|
||||
class TwoFactorAuthenticationRequiredException extends RuntimeException
|
||||
{
|
||||
private $type;
|
||||
|
||||
public function __construct($type, $code = 0, $previous = null)
|
||||
{
|
||||
$this->type = $type;
|
||||
parent::__construct('Two factor authentication is enabled on this account', $code, $previous);
|
||||
}
|
||||
|
||||
public function getType()
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user