Skip to content

Commit 80ed0e7

Browse files
cleared up some documentation for BearerAuthorization
1 parent 194e716 commit 80ed0e7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ instantiate it and provide your credentials:
6363

6464

6565
#### Username and API Key
66-
For using a Classic Infrastructure or IBM Cloud API key. When using the IBM Cloud Api key, your username is litterally `apikey`, more information about that can be found on the SLDN [Authenticating to the SoftLayer API](https://sldn.softlayer.com/article/authenticating-softlayer-api/#cloud-api) article.
66+
For using a Classic Infrastructure or IBM Cloud API key. When using the IBM Cloud Api key, your username is the literal string `apikey`, more information about that can be found on the SLDN [Authenticating to the SoftLayer API](https://sldn.softlayer.com/article/authenticating-softlayer-api/#cloud-api) article.
6767

6868
```java
6969
import com.softlayer.api.*;

src/main/java/com/softlayer/api/http/HttpBearerCredentials.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
package com.softlayer.api.http;
22

3-
/** HTTP bearer authorization support for bearer token fromhttps://iam.cloud.ibm.com/identity/token */
3+
/** HTTP Bearer authorization support for IBM IAM Tokens.
4+
*
5+
* @see <a href="https://cloud.ibm.com/apidocs/iam-identity-token-api">IAM Tokens</a>
6+
* @see <a href="https://sldn.softlayer.com/article/authenticating-softlayer-api/">Authenticating SoftLayer API</a>
7+
*/
48
public class HttpBearerCredentials implements HttpCredentials {
59

6-
public final String token;
10+
protected final String token;
711

812
public HttpBearerCredentials(String token) {
913
this.token = token;

0 commit comments

Comments
 (0)