mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Added comment
This commit is contained in:
parent
f0426224ea
commit
c8866903f3
1 changed files with 1 additions and 0 deletions
|
@ -408,6 +408,7 @@ public class FragmentOAuth extends FragmentBase {
|
||||||
String[] segments = jwt.split("\\.");
|
String[] segments = jwt.split("\\.");
|
||||||
if (segments.length > 1)
|
if (segments.length > 1)
|
||||||
try {
|
try {
|
||||||
|
// https://jwt.ms/
|
||||||
String payload = new String(Base64.decode(segments[1], Base64.DEFAULT));
|
String payload = new String(Base64.decode(segments[1], Base64.DEFAULT));
|
||||||
EntityLog.log(context, "jwt payload=" + payload);
|
EntityLog.log(context, "jwt payload=" + payload);
|
||||||
JSONObject jpayload = new JSONObject(payload);
|
JSONObject jpayload = new JSONObject(payload);
|
||||||
|
|
Loading…
Reference in a new issue