-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSA15c #353
Conversation
LGTM |
PTAL |
let expectedTtl = 4800.0 | ||
let expectedCapability = "{\"canpublish:*\":[\"publish\"]}" | ||
|
||
let tokenParams = ARTTokenParams(clientId: expectedClientId) | ||
let tokenParams = ARTTokenParams(clientId: currentCliend) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the currentCliend
. Where does it come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's the client ID passed to the rest
instance used below. RSA15c says that the client ID can't change in a TokenRequest or TokenDetails from the one passed in the ClientOptions, so we can't expect it to be different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see now. Sorry. Can you change it to currentClient
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done at 52b87bb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
Beside a small comment, LGTM. |
2ff8945 will close #126. 👍 |
No description provided.