You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An implementation of the [ACE-OAuth] framework in Dart.
6
6
7
-
After creating the repository, perform the steps detailed in [the current version of the Git workflow document](https://hackmd.informatik.uni-bremen.de/s/w8tkKT_SZ).
7
+
This library implements the ACE-OAuth
8
+
(Authentication and Authorization for Constrained Environments
9
+
using the OAuth 2.0 Framework) framework as defined in
Its main feature is CBOR-(de-)serializable data models such as `AccessTokenRequest`.
8
12
9
-
The most important steps that need to be performed are:
10
-
1. Set at least one maintainer **in the CODEOWNERS file**, **at the end of this README document** and **in the GitLab project member settings (under "Project information")**.
11
-
2. Check that the **push rules**, the **merge approval and merge request settings** as well as the **protected branch settings** match the ones detailed in the Git workflow document.
12
-
3. Check that the License suggested in this template (Apache 2.0/MIT dual license) is actually the one you want for this project.
13
-
4. Enable/disable GitLab project features as needed (Settings->General)
14
-
4. Update this README file, adding a short repository description and other relevant information (like build instructions) and removing this part of the document.
15
-
5.**Rewrite/Replace** the initial commit so that the first commit includes all the changes you have made (as well as other things the repository should inlcude in the first commit) and **force push** the initial commit (you might have to disable the branch protection temporarily for this).
13
+
## Features
14
+
- CBOR de-/serializable model of the ACE-OAuth framework:
15
+
- Binary-, text-encoded and [AIF](https://datatracker.ietf.org/doc/html/draft-ietf-ace-aif)-scopes
16
+
- A variant of the AIF format specific to [libdcaf](https://gitlab.informatik.uni-bremen.de/DCAF/dcaf) is also supported
17
+
-*Note that dynamic REST methods in AIF currently don't (de)serialize correctly on the Web platform!*
18
+
- Access token requests and responses
19
+
- Authorization server request creation hints
20
+
- Error responses
21
+
- Various smaller types (`CoseKey`, `GrantType`, `ProofOfPossessionKey`, `TokenType`...)
22
+
- Use `serialize()` or `fromSerialized()` to serialize and deserialize these types.
16
23
17
-
If there are any questions or suggestions you can contact the Git workflow group (@s_edhnm5, @falko1, @hdamer) via Mattermost.
24
+
> Note that actually transmitting the serialized values (e.g. via CoAP)
25
+
is *out of scope* for this library.
26
+
27
+
## Getting started
28
+
29
+
**Note that this package is currently in pre-release, mainly because we depend
30
+
on Dart 2.17.0, which is still in Beta at the time of writing.**
31
+
32
+
All you need to do to get started is to add this package to your `pubspec.yaml`.
33
+
You can then import it using `import 'package:dcaf/dcaf.dart`.
34
+
35
+
## Usage
36
+
37
+
As mentioned, the main feature of this library is ACE-OAuth data models.
0 commit comments