package Ġno . nav . f amil ie . ef . sak . be handling Ċ Ċ import Ġno . nav . f amil ie . ef . sak . infra struktur . s ik ker het . Til gang Service Ċ import Ġno . nav . f amil ie . kon tr ak ter . fel les . Ress urs Ċ import Ġno . nav . security . token . support . core . api . Protected With Claims Ċ import Ġorg . springframework . web . bind . annotation . PathVariable Ċ import Ġorg . springframework . web . bind . annotation . PostMapping Ċ import Ġorg . springframework . web . bind . annotation . RequestMapping Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ import Ġjava . util . UUID Ċ Ċ @ RestController Ċ @ RequestMapping ("/ api / te kn isk op ph or ") Ċ @ Protected With Claims ( issuer Ġ= Ġ" azure ad ") Ċ Ċ class ĠT ek n isk Opp h Ã¸ r Controller ( val Ġte kn isk Opp h Ã¸ r Service : ĠT ek n isk Opp h Ã¸ r Service , Ġval Ġtil gang Service : ĠT il gang Service ) Ġ{ ĊĊĠĠĠ Ġ@ PostMapping ("{ f ags ak Id }") ĊĠĠĠ Ġfun Ġ iver k set t T ek n isk op ph or (@ PathVariable Ġf ags ak Id : ĠUUID ): ĠR ess urs < String > Ġ{ ĊĠĠĠĠĠĠĠ Ġtil gang Service . valid er Til gang Til F ags ak ( f ags ak Id ) ĊĠĠĠĠĠĠĠ Ġtil gang Service . valid er Har B es l utter rol le () ĊĠĠĠĠĠĠĠ Ġte kn isk Opp h Ã¸ r Service . h Ã¥ nd ter T ek nis kt Opp h Ã¸ r ( f ags ak Id ) ĊĠĠĠĠĠĠĠ Ġreturn ĠR ess urs . success (" OK ") ĊĠĠĠ Ġ} Ċ }