claimsAuthenticWithUsernameClaim returns an authentic claim set after setting the given secondary claims.
(extra map[string]interface{})
| 363 | // claimsAuthenticWithUsernameClaim returns an authentic claim set after |
| 364 | // setting the given secondary claims. |
| 365 | func claimsAuthenticWithExtraClaims(extra map[string]interface{}) claimSet { |
| 366 | claims := claimsAuthentic() |
| 367 | claims.secondaryClaims = extra |
| 368 | return claims |
| 369 | } |
| 370 | |
| 371 | // claimsAuthenticWithUsernameClaim returns an authentic claim set after |
| 372 | // setting the given claim key and value as secondary claims. |
no test coverage detected