-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving Base64UrlEncode/Base64UrlDecode to separate entity #82
Conversation
abatishchev
commented
Apr 3, 2017
•
edited
Loading
edited
- Adding IBase64UrlEncoder implemented by JwtBase64UrlEncoder. Calling it from JsonWebToken.Base64UrlEncode/Base64UrlDecode.
- Updating tests
…it from JsonWebToken.Base64UrlEncode/Base64UrlDecode.
I'll wait CI/CD to run tests automatically first |
…it from JsonWebToken.Base64UrlEncode/Base64UrlDecode.
ab06087
to
6a3a343
Compare
6a3a343
to
cc06084
Compare
package.cmd
Outdated
if not exist package\lib\net35 mkdir package\lib\net35 | ||
|
||
msbuild src\JWT.sln -p:Configuration=Release | ||
copy src\JWT\bin\Release\JWT.dll package\lib\net35 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some extra changes got moved into this PR?
src/JWT/IBase64UrlEncoder.cs
Outdated
{ | ||
public interface IBase64UrlEncoder | ||
{ | ||
string UrlEncode(byte[] input); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems a bit redundant to have Url
twice, perhaps the method could just be Encode
and Decode
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, was thinking about this too. Dropped the prefix.
Removing Encode prefix from IBase64UrlEncoder
471188f
to
b650afa
Compare