UserImpersonation
class UserImpersonation implements Feature (View source)
Properties
static int | $ttl | The lifespan of impersonation tokens (in seconds). |
Methods
static RedirectResponse
makeResponse(ImpersonationToken $token, int $ttl = null)
Impersonate a user and get an HTTP redirect response.
static bool
isImpersonating()
No description
static void
leave()
Logout from the current domain and forget impersonation session.
Details
void
bootstrap(Tenancy $tenancy)
No description
static RedirectResponse
makeResponse(ImpersonationToken $token, int $ttl = null)
Impersonate a user and get an HTTP redirect response.
static bool
isImpersonating()
No description
static void
leave()
Logout from the current domain and forget impersonation session.