Skip to content

Conversation

@jellejurre
Copy link
Contributor

No description provided.

README.md Outdated
Comment on lines 56 to 63
AuthenticationApi authApi = new AuthenticationApi(defaultClient);

// Step 2. We begin with creating a Configuration
// This contains the username and password for authentication.
// This contains the username and password for authentication, as well as a user agent.
HttpBasicAuth authHeader = (HttpBasicAuth) defaultClient.getAuthentication("authHeader");
authHeader.setUsername("username");
authHeader.setPassword("password");
authHeader.setUsername("username");
authHeader.setPassword("password");
defaultClient.setUserAgent("ExampleProgram/0.0.1 my@email.com");
Copy link
Member

Choose a reason for hiding this comment

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

This example is inconsistently formatted.

@jellejurre jellejurre merged commit 96b24f4 into main Nov 25, 2024
2 checks passed
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.

3 participants