GoodAuth

View Source

Summary

Auth state for a successfully authenticated request.

Signature

interface GoodAuth<identity> {
  identity: identity;
  method: string;
  ok: true;
}

Properties

identity

Application-defined identity resolved for the current request.

method

Auth method that successfully authenticated the request.

ok

Indicates that the current request is authenticated.