https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
g

green-waiter-57771

02/01/2022, 11:39 AM
Can someone explain what an AuthenticationSession is exactly and what would be an example of an AuthenticationSession object?
a

able-glass-7253

02/01/2022, 12:40 PM
I couldn't find any references to 'AuthenticationSession' in Kratos. Where did you stumble upon it?
g

green-waiter-57771

02/01/2022, 1:34 PM
In fact i noticed it on oathkeeper https://www.ory.sh/oathkeeper/docs/next/pipeline#session but i was thinking maybe its related to Kratos
a

able-glass-7253

02/01/2022, 1:49 PM
Oh, now that makes more sense. I'm not currently using Oathkeeper, but my best guess is that it lets you access information extracted by the authenticator (and it doesn't matter whether it comes from a cookie, jwt, or something else)
3 Views