model: rename to auth

Since the "model" doesn't contain any message from the API anymore, and
instead contains only the structures needed for authentication, it was
renamed as such.
This commit is contained in:
Valentin Tolmer
2021-08-31 16:29:49 +02:00
committed by nitnelave
parent 9dd579e32e
commit 3eb53ba5bf
18 changed files with 24 additions and 24 deletions

View File

@@ -49,13 +49,13 @@ Data storage:
### Code organization
* `model/`: Contains the shared data, the interface between front and back-end.
The data is transferred by being serialized to JSON, for compatibility with
other HTTP-based clients.
* `auth/`: Contains the shared structures needed for authentication, the
interface between front and back-end. In particular, it contains the OPAQUE
structures and the JWT format.
* `app/`: The frontend.
* `src/`: The backend.
* `domain/`: Domain-specific logic: users, groups, checking passwords...
* `infra/`: API, both HTTP and LDAP
* `infra/`: API, both GraphQL and LDAP
## Authentication
@@ -99,7 +99,7 @@ We don't have a code of conduct, just be respectful and remember that it's just
normal people doing this for free on their free time.
Make sure that you run `cargo fmt` in each crate that you modified (top-level,
`app/` and `model/`) before creating the PR.
`app/` and `auth/`) before creating the PR.
### Setup