Google token parameter yog dab tsi?
Google token parameter yog dab tsi?

Video: Google token parameter yog dab tsi?

Video: Google token parameter yog dab tsi?
Video: Niam tais Npab Ntxhais tuag ua Dab 1/23/2020 2024, Kaum ib hlis
Anonim

Cov lus teb muaj ob peb tsis muaj , suav nrog URL thiab tus lej uas daim ntawv thov qhia rau tus neeg siv. Daim ntawv thov yuav tsum khaws cov refresh token rau yav tom ntej siv thiab siv qhov nkag token nkag mus a Google API. Thaum nkag token tas sij hawm, daim ntawv thov siv lub refresh token kom tau ib tug tshiab.

Tsis tas li ntawd, Google token yog dab tsi?

Thaum koj tsim ib Google Token , koj yuav tuaj yeem txuas G Suite apps nrog email cov neeg siv khoom thiab cov khoom siv txawb. Koj yuav xav tau ib Google Token rau importing/exporting koj emails thiab tuaj yeem teeb tsa xa email los ntawm qhov chaw sib txawv.

Qhov thib ob, kev tso cai Google ua haujlwm li cas? The OAuth kev tso cai txheej txheem Google nug tus neeg siv kom tso cai rau koj nkag mus rau cov ntaub ntawv xav tau. Koj daim ntawv thov tau txais kev tso cai thov token los ntawm kev tso cai server. Koj pauv qhov tso cai thov token rau ib qho token nkag. Koj siv lub token nkag mus thov cov ntaub ntawv los ntawm Google cov kev pabcuam nkag mus rau servers.

Ib yam li ntawd, koj tuaj yeem nug, yog Google OAuth dawb?

Google Sign-in yog dawb . Tsis muaj nqi. Google Sign-in yog a dawb kev pabcuam. Siv Google sign-in koj yuav tsum siv Google cov Firebase authentication service.

Thaum twg kuv yuav tsum siv tus lej nkag mus thiab ID token?

Koj tuaj yeem hla ib qho ID Token nyob ib ncig ntawm cov khoom sib txawv ntawm koj cov neeg siv khoom, thiab cov khoom no tuaj yeem ua tau siv tus ID Token kom paub meej tias tus neeg siv yog authenticated thiab kuj mus retrieve cov ntaub ntawv hais txog lawv. Access tokens , ntawm qhov tod tes, tsis yog npaj los nqa cov ntaub ntawv hais txog tus neeg siv.

Pom zoo: