Instance Methodhummingbird-auth 2.0.1HummingbirdAuth
requireIdentity
Return Identity attached to context.
func requireIdentity() throws -> Identity
If Identity does not exist then throw a 401 (Unauthorized) status
Return Identity attached to context.
func requireIdentity() throws -> Identity
If Identity does not exist then throw a 401 (Unauthorized) status