Open Nightmare987 opened 2 days ago
See also How the Authorization Process Works.
but i cant just copy paste that whole block of code, so what do i do to impliment it into my project?
Which UI framework are you using? SwiftUI
, UIKit
, or AppKit
? If you're using SwiftUI
, is the entry point to your app a type that conforms to App
(the SwiftUI lifecycle) or is it an AppDelegate
class that conforms to UIApplicationDelegate
/NSApplicationDelegate
? If you're using UIKit
, do you have a SceneDelegate
? I need more information about your project in order to answer this question.
i am following the tutorial to use authorization code flow, but do not know where to put the
requestAccessAndRefreshTokens(redirectURIWithQuery:state:)
code block. i tried searching in the example-app, but couldnt find it.