You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Identity and Access Management](#identity-and-access-management)
19
+
-[How to Use the Filters Package](#how-to-use-the-filters-package)
20
+
-[Bugs](#bugs)
21
+
-[How to Contribute](#how-to-contribute)
22
+
-[License](#license)
23
+
14
24
## Getting Started
15
25
16
26
The latest version of SDK is available at `master` branch of the repository. All development, including new features and bug fixes, take place on the `master` branch using forking and pull requests as described in contribution guidelines.
17
27
18
-
###Instantiate SDK Client
28
+
## Instantiate SDK Client
19
29
20
30
PrivX SDK composes API client from three independent layers:
21
31
*`restapi` generic HTTPS transport layer
@@ -63,7 +73,7 @@ func curl() restapi.Connector {
63
73
roleStore:= rolestore.New(curl())
64
74
```
65
75
66
-
###SDK Configuration providers
76
+
## SDK Configuration Providers
67
77
68
78
As application developers you have three options to configure PrivX SDK
Usage of PrivX SDK requires API credential, which are available from your PrivX deployment: Settings > API Clients > Add API Client. Authorizer implement OAuth2 Resource Owner Password Grant
142
152
@@ -155,6 +165,35 @@ If your app needs to implement a flexible auth strategy that supports both. Use
155
165
auth:= oauth.With(/* ... */)
156
166
```
157
167
168
+
## How To Use The Filters Package
169
+
170
+
The `filters` package simplifies handling of query parameters by providing helper functions for commonly used parameters.
Predefined parameter structs are available in the model files of the respective service packages.
196
+
158
197
## Bugs
159
198
160
199
If you experience any issues with the library, please let us know via [GitHub issues](https://github.com/SSHcom/privx-sdk-go/issues). We appreciate detailed and accurate reports that help us to identity and replicate the issue.
@@ -166,12 +205,13 @@ If you experience any issues with the library, please let us know via [GitHub is
166
205
***Reveal** the steps you took to reproduce the problem, include code snippet or links to your project.
167
206
168
207
169
-
## How To Contribute to SDK Version 1
208
+
## How To Contribute
170
209
171
210
The project is [Apache 2.0](LICENSE) licensed and accepts contributions via GitHub pull requests:
172
211
173
-
1. Fork it
174
-
2. Create your feature branch
212
+
1. Before contributing, please read the [style guide](styleguide.md)
213
+
2. Fork it
214
+
3. Create your feature branch
175
215
- For SDK v2:
176
216
```sh
177
217
git switch -c my-new-feature
@@ -181,15 +221,15 @@ The project is [Apache 2.0](LICENSE) licensed and accepts contributions via GitH
181
221
git switch v1
182
222
git switch -c my-new-feature
183
223
```
184
-
3. Commit your changes
224
+
4. Commit your changes
185
225
```sh
186
226
git commit -am Added some feature
187
227
```
188
-
4. Push to the branch
228
+
5. Push to the branch
189
229
```sh
190
230
git push origin my-new-feature
191
231
```
192
-
5. Create new Pull Request
232
+
6. Create new Pull Request
193
233
If the change is for SDK v1, update the base branch to `v1` when creating the PR.
0 commit comments