Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature find user/key by fingerprint #596

Merged
merged 4 commits into from
Dec 31, 2020

Conversation

mipmip
Copy link
Contributor

@mipmip mipmip commented Dec 21, 2020

Hi,
This feature is nice to have authenticating with a key.
Cheers,
Pim

# @param [String] fingerprint The Fingerprint of a key.
# @return [Gitlab::ObjectifiedHash]
def key_by_fingerprint(fingerprint)
get('/keys/', query: { fingerprint: fingerprint })
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is a trailing slash necessary?

@mipmip
Copy link
Contributor Author

mipmip commented Dec 31, 2020

You're right. No need. Cheers. 🥂

@NARKOZ NARKOZ merged commit a66d039 into NARKOZ:master Dec 31, 2020
@NARKOZ
Copy link
Owner

NARKOZ commented Dec 31, 2020

Thank you ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants