Skip to content

Commit 7b2491c

Browse files
author
Infrabel
committed
Update README.md
1 parent 11cdb71 commit 7b2491c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ app.UseJwtTokenIssuer(new JwtTokenIssuerOptions
1717
TokenSigningKey = "U0lHTklOR19LRVlfR09FU19IRVJF",
1818
Authenticate = (username, password) =>
1919
{
20+
// Dummy example authentication check
2021
if (username.Equals("gnap"))
2122
{
2223
return new[]
@@ -28,6 +29,7 @@ app.UseJwtTokenIssuer(new JwtTokenIssuerOptions
2829
};
2930
}
3031

32+
// Invalid user
3133
return null;
3234
}
3335
});
@@ -98,4 +100,4 @@ Copyright © 2014 Infrabel and contributors.
98100

99101
## License
100102

101-
GNaP.Owin.Authentication.Jwt is licensed under [BSD (3-Clause)](http://choosealicense.com/licenses/bsd-3-clause/ "Read more about the BSD (3-Clause) License"). Refer to [LICENSE](https://github.com/infrabel/GNaP.Owin.Authentication.Jwt/blob/master/LICENSE) for more information.
103+
GNaP.Owin.Authentication.Jwt is licensed under [BSD (3-Clause)](http://choosealicense.com/licenses/bsd-3-clause/ "Read more about the BSD (3-Clause) License"). Refer to [LICENSE](https://github.com/infrabel/GNaP.Owin.Authentication.Jwt/blob/master/LICENSE) for more information.

0 commit comments

Comments
 (0)