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

Move force argument to AuthOptions as a variable #107

Merged
merged 1 commit into from Feb 29, 2016

Conversation

gokhanbarisaker
Copy link
Contributor

Resolves: #103

Log.i("TokenAuth.authorise()", "");
if(tokenDetails != null) {
if(tokenDetails.expires == 0 || tokenValid(tokenDetails)) {
if(!force) {
if(!options.force) {
Copy link
Member

Choose a reason for hiding this comment

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

Don't you need to check here that options != null ?

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 thought about that too, and decided not to take an action since test cases under RestAuthTest didn't failed. Now that, Travis reported RealtimeConnectFailTest's connect_token_expire_disconnected failing because of that reason, I will fix it now

@paddybyers
Copy link
Member

LGTM

1 similar comment
@mattheworiordan
Copy link
Member

LGTM

mattheworiordan added a commit that referenced this pull request Feb 29, 2016
Move force argument to AuthOptions as a variable
@mattheworiordan mattheworiordan merged commit 53f43aa into ably:master Feb 29, 2016
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.

None yet

3 participants