$auth->type()
Returns the current authentication type
Parameters
Name | Type | Default | Description |
---|---|---|---|
$allowImpersonation | bool |
true |
If set to false, 'impersonate' won't be returned as authentication type even if an impersonation is active |
Return type
string