The Clerk actor claim, present on a session that is being impersonated.
Who is acting on behalf of the session's user.
sub is the impersonator's user id. The JSON key type becomes the Elm field type_, because type is a reserved word.
sub
type
type_
Decode an Actor from the JSON the shim sends.
Actor
{ "sub": "user_admin", "type": "impersonation" }
Who is acting on behalf of the session's user.
subis the impersonator's user id. The JSON keytypebecomes the Elm fieldtype_, becausetypeis a reserved word.