msgraph.graph.auth
Authenticate/Authorize helpers
License:
BSL-1.0.
- struct
AuthInfo
; - Auth infomations
- for user application: https://docs.microsoft.com/ja-jp/graph/auth-v2-user
- for service application: https://docs.microsoft.com/ja-jp/graph/auth-v2-service
- string
tenantId
; - Tenant ID
- string
clientId
; - Client ID
- string
clientSecret
; - Client secret
- string[]
requireScope
; - string
redirectUri
; - string
responseMode
; - string
state
; - string
accessToken
; - string
refreshToken
; - void delegate(string url)
onAuthCodeRequired
;
- struct
AdHocAuthServer
; - void delegate(string code)
onAuthCodeAcquired
; - void
listen
(); - const string
endpointUri
(); - const string
authCode
(); - bool
acceptCode
(string state, Duration timeout = 30.seconds);