Skip to content

Commit

Permalink
Working commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaison Titus committed Oct 19, 2017
1 parent d4cb73c commit af77f55
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 51 deletions.

This file was deleted.

This file was deleted.

16 changes: 8 additions & 8 deletions sdk/src/main/java/io/hasura/sdk/HasuraUser.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public String getAuthToken() {
return authToken;
}

private void setId(Integer id) {
public void setId(Integer id) {
this.id = id;
}

Expand All @@ -182,33 +182,33 @@ private void setAccesstokenForSocialLogin(HasuraSocialLoginType type, String acc
this.stateChangeListener.onSocialLoginAccessTokenChanged(socialLoginTypeAccessTokenMap);
}

private void setRoles(String[] roles) {
public void setRoles(String[] roles) {
this.roles = roles;
this.stateChangeListener.onRolesChanged(roles);
}

private void setAuthToken(String authToken) {
public void setAuthToken(String authToken) {
this.authToken = authToken;
this.stateChangeListener.onAuthTokenChanged(authToken);
}

private void setUsername(String username) {
public void setUsername(String username) {
this.username = username;
}

private void setPassword(String password) {
public void setPassword(String password) {
this.password = password;
}

private void setEmail(String email) {
public void setEmail(String email) {
this.email = email;
}

private void setMobile(String mobile) {
public void setMobile(String mobile) {
this.mobile = mobile;
}

private void setSession(AuthResponse response) {
public void setSession(AuthResponse response) {
setId(response.getId());
setAuthToken(response.getAuthToken());
setRoles(response.getRoles());
Expand Down

0 comments on commit af77f55

Please sign in to comment.