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

Add "Anonymous" credentials for servers allowing access without credentials #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tropid
Copy link

@Tropid Tropid commented Mar 31, 2020

This allows to connect to a server without specifying credentials (if the server supports it):

Jira::new("http://localhost:8080", Credentials::Anonymous)

It adds a new variant "Anonymus" to the Credentials enum.

This may break clients if they match on this enum exhaustively. It may also be a good idea to add the new non_exhaustive attribute to this enum to allow future additions without breaking client code.

This allows to connect to a server without credentials (if the server supports it).
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.

1 participant