-
Notifications
You must be signed in to change notification settings - Fork 6
Complete OAuth Configuration Options #97
codefiesta
started this conversation in
Show and tell
-
Complete OAuth Configuration Options
Below is a complete list of all the OAuth configuration options.
let configuration: URLSessionConfiguration = .ephemeral configuration.protocolClasses = [OAuthTestURLProtocol.self] let urlSession: URLSession = .init(configuration: configuration) let localAuthentication: LAContext = .init() let options: [OAuth.Option: Any] = [ .applicationTag: "com.oauthkit.Sampler", .autoRefresh: true, .localAuthentication: localAuthentication, .requireAuthenticationWithBiometricsOrCompanion: true, .urlSession: urlSession, .useNonPersistentWebDataStore: true ] let oauth: OAuth = .init(.module, options: options)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment