Skip to content
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

Merged
merged 7 commits into from
Apr 5, 2016
Merged

RSA15c #353

merged 7 commits into from
Apr 5, 2016

Conversation

ricardopereira
Copy link
Contributor

No description provided.

@mattheworiordan
Copy link
Member

LGTM

@tcard
Copy link
Contributor

tcard commented Apr 4, 2016

PTAL

let expectedTtl = 4800.0
let expectedCapability = "{\"canpublish:*\":[\"publish\"]}"

let tokenParams = ARTTokenParams(clientId: expectedClientId)
let tokenParams = ARTTokenParams(clientId: currentCliend)
Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done at 52b87bb.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@ricardopereira
Copy link
Contributor Author

Beside a small comment, LGTM.

@ricardopereira
Copy link
Contributor Author

2ff8945 will close #126. 👍

@tcard tcard merged commit ab838c6 into master Apr 5, 2016
@tcard tcard deleted the rsa15c branch April 5, 2016 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants