You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you liked the project or if NetDevPack helped you, please give a star ;)
@@ -160,9 +162,11 @@ return new JwtBuilder()
160
162
.WithJwtClaims()
161
163
.WithUserClaims()
162
164
.WithUserRoles()
163
-
.BuildUserResponse();
165
+
.BuildUserResponse()asUserResponse;
164
166
```
165
167
168
+
>**Note:** The safe cast to `UserResponse` is needed because is a subtype of `UserResponse<TKey>`.
169
+
166
170
## Examples
167
171
Use the [sample application](https://github.com/NetDevPack/NetDevPack.Identity/tree/master/src/Samples/AspNetCore.Jwt.Sample) to understand how NetDevPack.Identity can be implemented and help you to decrease the complexity of your application and development time.
0 commit comments