Optional
afterLike AfterCallback and AfterRefresh when a session is created, you can use
this function to validate or add/remove claims after the session is updated. Will only run if
ProfileOptions.refetch is true
.
Optional
refetch?: booleanIf set to true
this will refetch the user profile information from /userinfo
and save it
to the session.
Options to customize the profile handler.