Structure
Request.Authentication
Request helper for storing and fetching authenticated objects.
struct Authentication
Topics
Instance Methods
get(_:)Returns the authenticated instance of the supplied type.has(_:)Returnstrueif the type has been authenticated.login(_:)Authenticates the supplied instance for this request.logout(_:)Unauthenticates an authenticatable type.require(_:)Returns an instance of the supplied type. Throws if no instance of that type has been authenticated or if there was a problem.