File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -107,15 +107,16 @@ You supply either an IAM service **API key** or an **access token**:
107
107
``` cs
108
108
IEnumerator TokenExample ()
109
109
{
110
- // Create IAM token options and supply the apikey.
110
+ // Create IAM token options and supply the apikey. IamUrl is the URL used to get the
111
+ // authorization token using the IamApiKey. It defaults to https://iam.bluemix.net/identity/token
111
112
TokenOptions iamTokenOptions = new TokenOptions ()
112
113
{
113
114
IamApiKey = " <iam-api-key>" ,
114
- IamUrl = " <service -url>"
115
+ IamUrl = " <iam -url>"
115
116
};
116
117
117
118
// Create credentials using the IAM token options
118
- _credentials = new Credentials (iamTokenOptions , " <service-url" );
119
+ _credentials = new Credentials (iamTokenOptions , " <service-url> " );
119
120
while (! _credentials .HasIamTokenData ())
120
121
yield return null ;
121
122
You can’t perform that action at this time.
0 commit comments