Skip to content

Refactor Algorithms instantiation#89

Merged
lbalmaceda merged 1 commit into
v3from
refactor-algorithms
Nov 1, 2016
Merged

Refactor Algorithms instantiation#89
lbalmaceda merged 1 commit into
v3from
refactor-algorithms

Conversation

@lbalmaceda

@lbalmaceda lbalmaceda commented Nov 1, 2016

Copy link
Copy Markdown
Contributor

Before

JWTVerifier.init(HSAlgorithm.HS256, "secret")
   .verify("token");

Now:

JWTVerifier.init(Algorithm.HMAC256("secret"))
   .verify("token");

@lbalmaceda lbalmaceda merged commit 301788b into v3 Nov 1, 2016
@lbalmaceda lbalmaceda deleted the refactor-algorithms branch November 1, 2016 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant