Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
application
/
vendor
/
league
/
oauth2-google
/
src
/
Exception
:
HostedDomainException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace League\OAuth2\Client\Exception; /** * Exception thrown if the Google Provider is configured with a hosted domain that the user doesn't belong to */ class HostedDomainException extends \Exception { /** * @param $configuredDomain * * @return static */ public static function notMatchingDomain($configuredDomain): self { return new static("User is not part of domain '$configuredDomain'"); } }