package Ġcom . son ik ro . flutter _ ok ta _ sdk . ok ta . operations Ċ Ċ import Ġcom . ok ta . oidc . Request Callback Ċ import Ġcom . ok ta . oidc . Tokens Ċ import Ġcom . ok ta . oidc . clients . web . Web Auth Client Ċ import Ġcom . ok ta . oidc . util . Authorization Exception Ċ import Ġcom . son ik ro . flutter _ ok ta _ sdk . ok ta . entities . Constants Ċ import Ġcom . son ik ro . flutter _ ok ta _ sdk . ok ta . entities . Errors Ċ import Ġcom . son ik ro . flutter _ ok ta _ sdk . ok ta . entities . Ok ta Client Ċ import Ġcom . son ik ro . flutter _ ok ta _ sdk . ok ta . entities . Pending Operation Ċ Ċ // import Ġj dk . n ash orn . internal . runtime . regexp . jon i . constants . Arguments ĊĊ Ċ fun Ġrefresh Tokens () Ġ{ ĊĠĠĠ ĠOk ta Client . get Web Client (). session Client . refresh Token ( object Ġ: ĠRequest Callback < Tokens , ĠAuthorization Exception > Ġ{ ĊĠĠĠĠĠĠĠ Ġoverride Ġfun ĠonSuccess ( result : ĠTokens ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġparams Ġ= Ġmutable Map Of < Any , ĠAny ?> () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġparams [ Constants . ACCESS _ TOKEN _ KEY ] Ġ= Ġresult . accessToken ĊĠĠĠĠĠĠĠĠĠĠĠ Ġparams [ Constants . ID _ TOKEN _ KEY ] Ġ= Ġresult . id Token ĊĠĠĠĠĠĠĠĠĠĠĠ Ġparams [ Constants . REFRESH _ TOKEN _ KEY ] Ġ= Ġresult . refresh Token ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPending Operation . success ( params . toString ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġoverride Ġfun ĠonError ( e : ĠString ?, Ġexception : ĠAuthorization Exception ?) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠPending Operation . error ( Errors . OK TA _ OID C _ ERROR , Ġexception . error Description ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ}) Ċ } ĊĊĊ