File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,33 @@ twilio-java changelog
10
10
11
11
** Library - Fix**
12
12
- [ PR #846 ] ( https://github.com/twilio/twilio-java/pull/846 ) : update jjwt version. Thanks to [ @manisha1997 ] ( https://github.com/manisha1997 ) !
13
+ - ** AccessToken**
14
+ - ** Breaking Change** : Updated ` AccessTokenBuilder ` to use ` byte[] ` for the ` secret ` instead of ` String ` .
15
+ - Updated method signatures:
16
+ - ` AccessTokenBuilder(String accountSid, String keySid, byte[] secret) `
17
+ - Example usage:
18
+ ```java
19
+ byte[ ] secret = “your_secret”.getBytes();
20
+ AccessTokenBuilder builder = new AccessTokenBuilder(accountSid, keySid, secret);
21
+ ```
22
+ ** ClientCapability**
23
+ - ** Breaking Change** : Updated ` ClientCapability.Builder ` to use ` byte[] ` for the ` authToken ` instead of ` String ` .
24
+ - Updated method signatures:
25
+ - ` ClientCapability.Builder(String accountSid, byte[] authToken) `
26
+ - Example usage:
27
+ ``` java
28
+ byte [] authToken = “your_auth_token”. getBytes();
29
+ ClientCapability . Builder builder = new ClientCapability .Builder (accountSid, authToken);
30
+ ```
31
+ ** TaskRouterCapability **
32
+ - ** Breaking Change ** : Updated `TaskRouterCapability . Builder ` to use `byte []` for the `authToken` instead of `String `.
33
+ - Updated method signatures:
34
+ - `TaskRouterCapability . Builder(String accountSid, byte [] authToken)`
35
+ - Example usage:
36
+ ```java
37
+ byte [] authToken = “your_auth_token”. getBytes();
38
+ TaskRouterCapability . Builder builder = new TaskRouterCapability .Builder (accountSid, authToken);
39
+ ```
13
40
14
41
** Api **
15
42
- Add `response_key` for `Usage Triggers ` fetch endpoint.
You can’t perform that action at this time.
0 commit comments