package Ġcz . pe tr bal at . k lib . spring . jwt Ċ Ċ import Ġorg . springframework . security . core . context . SecurityContext Holder Ċ Ċ const Ġval ĠTOKEN _ PREFIX Ġ= Ġ" Bearer Ġ" Ċ const Ġval ĠHEADER _ STRING Ġ= Ġ" Authorization " Ċ Ċ inline Ġfun Ġ< re ified ĠT > ĠgetCurrent User (): ĠT ? Ġ= ĠSecurity Context Holder . getContext ()?. authentication ?. principal Ġas ? ĠT Ċ