Skip to content

Commit

Permalink
deprecate useCodeGrant in the WebAuthProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda authored and hzalaz committed Nov 30, 2016
1 parent c43e4f7 commit b5ba94c
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 b5ba94c

Please sign in to comment.