File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Add this dependency to your project's POM:
53
53
<dependency >
54
54
<groupId >one.talon</groupId >
55
55
<artifactId >talon-one-client</artifactId >
56
- <version >6.0.0 </version >
56
+ <version >6.0.1 </version >
57
57
<scope >compile</scope >
58
58
</dependency >
59
59
```
@@ -63,7 +63,7 @@ Add this dependency to your project's POM:
63
63
Add this dependency to your project's build file:
64
64
65
65
``` groovy
66
- compile "one.talon:talon-one-client:6.0.0 "
66
+ compile "one.talon:talon-one-client:6.0.1 "
67
67
```
68
68
69
69
### Others
@@ -76,7 +76,7 @@ mvn clean package
76
76
77
77
Then manually install the following JARs:
78
78
79
- * ` target/talon-one-client-6.0.0 .jar `
79
+ * ` target/talon-one-client-6.0.1 .jar `
80
80
* ` target/lib/*.jar `
81
81
82
82
## Getting Started
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
3
3
apply plugin : ' java'
4
4
5
5
group = ' one.talon'
6
- version = ' 6.0.0 '
6
+ version = ' 6.0.1 '
7
7
8
8
buildscript {
9
9
repositories {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
2
2
settings(
3
3
organization := " one.talon" ,
4
4
name := " talon-one-client" ,
5
- version := " 6.0.0 " ,
5
+ version := " 6.0.1 " ,
6
6
scalaVersion := " 2.11.4" ,
7
7
scalacOptions ++= Seq (" -feature" ),
8
8
javacOptions in compile ++= Seq (" -Xlint:deprecation" ),
Original file line number Diff line number Diff line change 5
5
<artifactId >talon-one-client</artifactId >
6
6
<packaging >jar</packaging >
7
7
<name >talon-one-client</name >
8
- <version >6.0.0 </version >
8
+ <version >6.0.1 </version >
9
9
<url >https://github.com/talon-one/maven-artefacts</url >
10
10
<description >Talon.One unified JAVA SDK. It allows for programmatic access to the integration and management API with their respective authentication strategies</description >
11
11
<scm >
Original file line number Diff line number Diff line change @@ -101,6 +101,10 @@ public ApiClient(String authenticationStrategy) {
101
101
if (authenticationStrategy .equals ("integration_auth" )) {
102
102
authentications .put ("integration_auth" , new ApiKeyAuth ("header" , "Content-Signature" ));
103
103
}
104
+
105
+ if (authenticationStrategy .equals ("management_key" )) {
106
+ authentications .put ("management_key" , new ApiKeyAuth ("header" , "Authorization" ));
107
+ }
104
108
}
105
109
106
110
/*
@@ -128,7 +132,7 @@ private void init() {
128
132
json = new JSON ();
129
133
130
134
// Set default User-Agent.
131
- setUserAgent ("OpenAPI-Generator/6.0.0 /java" );
135
+ setUserAgent ("OpenAPI-Generator/6.0.1 /java" );
132
136
133
137
authentications = new HashMap <String , Authentication >();
134
138
}
@@ -1432,4 +1436,4 @@ private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityExcepti
1432
1436
throw new AssertionError (e );
1433
1437
}
1434
1438
}
1435
- }
1439
+ }
You can’t perform that action at this time.
0 commit comments