關於 Onedrive Api 的申請流程

date
Dec 2, 2024
Last edited time
Dec 2, 2024 04:21 AM
status
Published
slug
關於 Onedrive Api 的申請流程
tags
C#
summary
type
Post
origin
Field
Plat

申請

  1. 打開
  1. 点击新注册
    1. notion image
  1. 填寫注冊信息, URL填寫 http://127.0.0.1:8400
    1. notion image
  1. 点击API权限
    1. notion image
  1. 请求获取API权限
    1. notion image
  1. 委托权限勾选
    1. notion image
      勾选下面6个权限
      Files.Read
      Files.ReadWrite
      Files.Read.All
      Files.ReadWrite.All
      offline_access
      User.Read
  1. 创建客户端密码
    1. notion image
  1. 得到 App ID 以及 ecrect ID
    1. notion image
      notion image
 

使用

OneDriveAPI
KoenZomers • Updated Sep 30, 2024
  1. 獲取授權 URL
    1. 通過 URL 得到 Refresh Token
      1. 通過 Refresh Token 更新 Access Token
        1. 可以使用了

          © Lazurite 2021 - 2026