Skip to content

Commit

Permalink
Merge pull request #46 from auth0/deprecate-usecodegrant
Browse files Browse the repository at this point in the history
Deprecate useCodeGrant in the WebAuthProvider class
  • Loading branch information
hzalaz committed Nov 30, 2016
2 parents c43e4f7 + b5ba94c commit fc16649
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ public Builder withConnectionScope(@NonNull String... connectionScope) {
*
* @param useCodeGrant whether use code or implicit grant type
* @return the current builder instance
* @deprecated Please use {@link WebAuthProvider.Builder#withResponseType(int)} to specify a custom Response Type
*/
@Deprecated
public Builder useCodeGrant(boolean useCodeGrant) {
withResponseType(useCodeGrant ? ResponseType.CODE : ResponseType.TOKEN);
return this;
Expand Down

0 comments on commit fc16649

Please sign in to comment.