Skip to content

Commit

Permalink
Make names more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrdoherty committed Jan 17, 2024
1 parent 01a27b9 commit cf0c5d3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public WdkOAuthClientWrapper(WdkModel wdkModel) throws WdkModelException {
}
}

public ValidatedToken getAuthTokenFromAuthCode(String authCode, String redirectUri) {
return _client.getAuthTokenFromAuthCode(_config, authCode, redirectUri);
public ValidatedToken getIdTokenFromAuthCode(String authCode, String redirectUri) {
return _client.getIdTokenFromAuthCode(_config, authCode, redirectUri);
}

public ValidatedToken getAuthTokenFromCredentials(String email, String password, String redirectUrl) {
return _client.getAuthTokenFromUsernamePassword(_config, email, password, redirectUrl);
public ValidatedToken getIdTokenFromCredentials(String email, String password, String redirectUrl) {
return _client.getIdTokenFromUsernamePassword(_config, email, password, redirectUrl);
}

public ValidatedToken getBearerTokenFromAuth(String authCode, String redirectUri) {
public ValidatedToken getBearerTokenFromAuthCode(String authCode, String redirectUri) {
return _client.getBearerTokenFromAuthCode(_config, authCode, redirectUri);
}

Expand Down

0 comments on commit cf0c5d3

Please sign in to comment.