diff --git a/protos/auth.juaz b/protos/auth.juaz new file mode 100644 index 0000000..7294916 --- /dev/null +++ b/protos/auth.juaz @@ -0,0 +1,15 @@ +pkg authentication + +node User {} + +node Session {} + +impl login(User) Session { + method: POST + uri: /v1/auth/login +} + +impl create_account(User) User { + method: POST + uri: /v1/auth/create_account +}