Function OAuthWebapp.isLoggedIn

Check if a request is from a logged in user

bool isLoggedIn (
  scope vibe.http.server.HTTPServerRequest req,
  immutable(OAuthSettings) settings
) @safe;

Will only detect a login using the same settings. The same provider and clientId at least.

Parameters

NameDescription
req The request to be checked
settings The settings to be used for the login check

Returns

true if this request is from a logged in user.