Skip to content

Commit

Permalink
feat: Customizable oauth2 profiler (#538)
Browse files Browse the repository at this point in the history
<!--
Pull requests are squash merged using:
- their title as the commit message
- their description as the commit body

Having a good title and description is important for the users to get
readable changelog and understand when they need to update his code and
how.
-->

### Describe your change

Enable custom profiler for the std (predefined) Oauth2 providers:
- Default profiler
- No profiler
- Extended default profiler
- Custom profiler

### Motivation and context

We may want for example to add the Github login in the profile in
addition to the id.

### Migration notes

_No migration needed._

### Checklist

- [ ] The change come with new or modified tests
- [ ] Hard-to-understand functions have explanatory comments
- [ ] End-user documentation is updated to reflect the change
  • Loading branch information
Natoandro authored Jan 7, 2024
1 parent 6efa1fd commit 4bedb59
Show file tree
Hide file tree
Showing 8 changed files with 764 additions and 357 deletions.
5 changes: 5 additions & 0 deletions ghjk.deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 30 additions & 30 deletions ghjk.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2621,27 +2621,27 @@
"portRef": "[email protected]",
"instId": "[email protected]+88ba357c"
},
"[email protected]+65d907b4": {
"instId": "[email protected]+65d907b4",
"[email protected]+6974a914": {
"instId": "[email protected]+6974a914",
"portRef": "[email protected]",
"config": {
"version": "3.28.0-rc6",
"depConfigs": {
"curl_aa": {
"version": "8.2.1",
"version": "8.5.0",
"depConfigs": {},
"portRef": "[email protected]"
},
"git_aa": {
"version": "2.40.1",
"version": "2.43.0",
"depConfigs": {},
"portRef": "[email protected]"
},
"asdf_plugin_git": {
"version": "d631481e96",
"depConfigs": {
"git_aa": {
"version": "2.40.1",
"version": "2.43.0",
"depConfigs": {},
"portRef": "[email protected]"
}
Expand All @@ -2661,12 +2661,12 @@
"installType": "version"
}
},
"[email protected]+4f72e64a": {
"[email protected]+9387764b": {
"config": {
"version": "d631481e96",
"depConfigs": {
"git_aa": {
"version": "2.40.1",
"version": "2.43.0",
"depConfigs": {},
"portRef": "[email protected]"
}
Expand All @@ -2675,25 +2675,25 @@
"pluginRepo": "https://github.com/asdf-community/asdf-cmake"
},
"portRef": "[email protected]",
"instId": "[email protected]+4f72e64a"
"instId": "[email protected]+9387764b"
},
"[email protected]+46876952": {
"[email protected]+e1dc78fc": {
"config": {
"version": "2.40.1",
"version": "2.43.0",
"depConfigs": {},
"portRef": "[email protected]"
},
"portRef": "[email protected]",
"instId": "[email protected]+46876952"
"instId": "[email protected]+e1dc78fc"
},
"[email protected]+111de4ca": {
"[email protected]+5f2adea7": {
"config": {
"version": "8.2.1",
"version": "8.5.0",
"depConfigs": {},
"portRef": "[email protected]"
},
"portRef": "[email protected]",
"instId": "[email protected]+111de4ca"
"instId": "[email protected]+5f2adea7"
},
"[email protected]+95df0014": {
"instId": "[email protected]+95df0014",
Expand Down Expand Up @@ -2790,7 +2790,7 @@
"[email protected]+66136275",
"[email protected]+c37139e3",
"[email protected]+95df0014",
"[email protected]+65d907b4",
"[email protected]+6974a914",
"[email protected]+474f388b",
"[email protected]+3d080bd3",
"[email protected]+76e364ed",
Expand All @@ -2804,8 +2804,8 @@
"[email protected]+d9cbe4e3",
"[email protected]+e9b6de66",
"[email protected]+993fa832",
"[email protected]+46876952",
"[email protected]+111de4ca",
"[email protected]+e1dc78fc",
"[email protected]+5f2adea7",
"[email protected]+95df0014",
"[email protected]+dfb618ea",
"[email protected]+99af1bf3"
Expand All @@ -2830,15 +2830,15 @@
"[email protected]+88ba357c": [
"[email protected]+474f388b"
],
"[email protected]+111de4ca": [
"[email protected]+65d907b4"
"[email protected]+5f2adea7": [
"[email protected]+6974a914"
],
"[email protected]+46876952": [
"[email protected]+65d907b4",
"[email protected]+4f72e64a"
"[email protected]+e1dc78fc": [
"[email protected]+6974a914",
"[email protected]+9387764b"
],
"[email protected]+4f72e64a": [
"[email protected]+65d907b4"
"[email protected]+9387764b": [
"[email protected]+6974a914"
],
"[email protected]+dfb618ea": [
"[email protected]+c37139e3",
Expand Down Expand Up @@ -2899,23 +2899,23 @@
"tar_aa"
]
],
"[email protected]+65d907b4": [
"[email protected]+6974a914": [
[
"[email protected]+111de4ca",
"[email protected]+5f2adea7",
"curl_aa"
],
[
"[email protected]+46876952",
"[email protected]+e1dc78fc",
"git_aa"
],
[
"[email protected]+4f72e64a",
"[email protected]+9387764b",
"asdf_plugin_git"
]
],
"[email protected]+4f72e64a": [
"[email protected]+9387764b": [
[
"[email protected]+46876952",
"[email protected]+e1dc78fc",
"git_aa"
]
],
Expand Down
Loading

0 comments on commit 4bedb59

Please sign in to comment.