Get fields loginName & SourceID for users #654

Merged
techknowlogick merged 4 commits from tobiasbp/go-sdk:return-login-name-for-users into main 2024-05-02 17:33:09 +00:00
Contributor

This PR adds the following fields to the User struct:

The fields are used for users with non-local Authentication Sources (LDAP, oAuth etc.).

This _PR_ adds the following fields to the _User_ struct: - _LoginName_: Currently returned by the Gitea API. - _SourceID_: [Scheduled to be returned by the Gitea API as of version 1.22.0](https://github.com/go-gitea/gitea/pull/29718). The fields are used for users with non-local Authentication Sources (LDAP, oAuth etc.).
tobiasbp added 1 commit 2024-03-11 10:00:12 +00:00
Get field login_name for users
Some checks failed
testing / testing (pull_request) Has been cancelled
f5255fec4b
tobiasbp added 1 commit 2024-03-15 10:18:45 +00:00
Return SourceID for users
All checks were successful
testing / testing (pull_request) Successful in 2m52s
2eff6ade4d
tobiasbp changed title from Get field login_name for users to Get fields loginName & SourceID for users 2024-03-19 10:12:46 +00:00
appleboy approved these changes 2024-04-14 08:50:08 +00:00
appleboy added 1 commit 2024-04-14 08:50:20 +00:00
Merge branch 'main' into return-login-name-for-users
Some checks failed
testing / testing (pull_request) Failing after 1m49s
b2a2ea5069
Author
Contributor

What's the status on this PR @appleboy ? I can not see the log from the failing tests (it hangs).

What's the status on this PR @appleboy ? I can not see the log from the failing tests (it hangs).
techknowlogick approved these changes 2024-05-02 17:28:26 +00:00
techknowlogick added 1 commit 2024-05-02 17:28:35 +00:00
Merge branch 'main' into return-login-name-for-users
All checks were successful
testing / testing (pull_request) Successful in 3m5s
f76502e36b
techknowlogick merged commit 0a99bda0cb into main 2024-05-02 17:33:09 +00:00
Sign in to join this conversation.
No description provided.