Is there a method to verify accesstoken?

回答済み
新規投稿

コメント

3件のコメント

  • 正式なコメント
    Alex Novotny

    Hello, 

    I'm a bit confused by your question.... what do you mean by verify the correctness of the token? Do you mean if the token works? Calling any of the API endpoints with the token should let you see if the token works... You could also refresh the token with the first access token's refresh token. 

    Thanks, 

    Alex, Box Developer Advocate

    コメントアクション Permalink
  • guo gm2176qaz

    Thank you for your reply.

    >Do you mean if the token works?
    yes.

    >Calling any of the API endpoints with the token should let you see if the token works... You could also refresh the token with the first access token's refresh token
    ok.

    but,I want to confirm whether the box has an API to verify whether the token can be used?
    Because we developed Google projects before,
    Google has an API to verify whether a token is used:‘ https://www.googleapis.com/oauth2/v3/tokeninfo?access_token= ’,
    so I want to confirm whether the API of box has an API to verify whether the token can be used?

    0
    コメントアクション Permalink
  • Alex Novotny

    Unfortunately, we don't have an endpoint that does this today. 

    Alex

    0
    コメントアクション Permalink

サインインしてコメントを残してください。