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**:
107107``` cs
108108IEnumerator TokenExample ()
109109{
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
111112 TokenOptions iamTokenOptions = new TokenOptions ()
112113 {
113114 IamApiKey = " <iam-api-key>" ,
114- IamUrl = " <service -url>"
115+ IamUrl = " <iam -url>"
115116 };
116117
117118 // Create credentials using the IAM token options
118- _credentials = new Credentials (iamTokenOptions , " <service-url" );
119+ _credentials = new Credentials (iamTokenOptions , " <service-url> " );
119120 while (! _credentials .HasIamTokenData ())
120121 yield return null ;
121122
You can’t perform that action at this time.
0 commit comments