-
- Notifications
You must be signed in to change notification settings - Fork 92
Authentication
Padi edited this page Dec 29, 2024 · 3 revisions
The authentication can be done in 2 different ways:
- HTTP Basic authentication
Example:
Before version 4.6.5
var host = "<host>"; var login = "<login>"; var password = "<password>"; RedmineManager manager = new RedmineManager(host, login, password);
After version 4.6.5
RedmineManager rm = new(new RedmineManagerOptionsBuilder() .WithHost(host) .WithBasicAuthentication(login, password) ...
-
ApiKey
To enable the API-style authentication, you have to check Enable REST API in Administration -> Settings -> Authentication.
You can find your API key on your account page ( /my/account) when logged in, on the right-hand pane of the default layout.
Example:
Before version 4.6.6
var host = "<host>"; var apiKey = "<api-key>"; RedmineManager manager = new RedmineManager(host, apiKey);
After version 4.6.6
RedmineManager rm = new(new RedmineManagerOptionsBuilder() .WithHost(host) .WithApiKeyAuthentication(apiKey) ...
-
CRUD Operations
-
List Operations
-
Specific operations
- Attachments
- Issues
- Users
- Groups
- Wiki pages