package Ġcom . mongodb . st itch . core . admin Ċ Ċ import Ġcom . mongodb . st itch . core . auth . internal . St itch Auth Routes Ċ Ċ class ĠSt itch Admin Auth Routes Ġ: ĠSt itch Auth Routes Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget Base Auth Route (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"${ St itch Admin Client . api Path }/ auth " ĊĠĠĠ Ġ} ĊĠĠĠ Ġoverride Ġfun Ġget Session Route (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"$ base Auth Route / session " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Profile Route (): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"$ base Auth Route / profile " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Auth Provider Route ( provider Name : ĠString ?): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"$ base Auth Route / providers /$ provider Name " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Auth Provider Login Route ( provider Name : ĠString ?): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"${ get Auth Provider Route ( provider Name ) }/ login " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Auth Provider Link Route ( provider Name : ĠString ?): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"${ get Auth Provider Login Route ( provider Name )} ? link = true " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Auth Provider Extension Route ( provider Name : ĠString , Ġpath : ĠString ): ĠString Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġ"${ get Auth Provider Route ( provider Name ) }/ $ path " ĊĠĠĠ Ġ} Ċ } Ċ