Replace in-line OAuth2 strings with centralized constants #38
Xcode test results
Build Summary
Compile extensions.swift (arm64)
Compile Keychain.swift (arm64)
Compile OAuth2Logger.swift (arm64)
Compile OAuth2KeychainAccount.swift (arm64)
Compile OAuth2CodeGrantAzure.swift (arm64)
Compile OAuth2WebViewController+macOS.swift (arm64)
Compile OAuth2Securable.swift (arm64)
Compile OAuth2Error.swift (arm64)
Compile OAuth2AuthRequest.swift (arm64)
Compile OAuth2DeviceGrant.swift (arm64)
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
Sources/Flows/OAuth2DeviceGrant.swift:30:10: error: cannot find 'OAuth2GrantTypes' in scope
return OAuth2GrantTypes.deviceCode
^~~~~~~~~~~~~~~~
Sources/Flows/OAuth2DeviceGrant.swift:43:31: error: cannot find 'OAuth2GrantTypes' in scope
req.params["device_code"] = OAuth2GrantTypes.deviceCode
^~~~~~~~~~~~~~~~
Compile OAuth2ClientConfig.swift (arm64)
Compile OAuth2CustomAuthorizer+macOS.swift (arm64)
Compile OAuth2AuthConfig.swift (arm64)
Compile OAuth2Requestable.swift (arm64)
Compile OAuth2Base.swift (arm64)
Compile OAuth2AuthorizerUI.swift (arm64)
Compile OAuth2DataRequest.swift (arm64)
Compile OAuth2Authorizer+macOS.swift (arm64)
Compile OAuth2RequestPerformer.swift (arm64)
Compile OAuth2CustomAuthorizerUI.swift (arm64)
Compile OAuth2DebugURLSessionDelegate.swift (arm64)
Compile OAuth2ClientCredentials.swift (arm64)
Compile OAuth2ImplicitGrant.swift (arm64)
Compile OAuth2ClientCredentialsReddit.swift (arm64)
Compiling OAuth2.swift, OAuth2Response.swift, OAuth2CodeGrant.swift, OAuth2DataLoader.swift, OAuth2CodeGrantNoTokenType.swift, OAuth2DataLoaderSessionTaskDelegate.swift, OAuth2CodeGrantFacebook.swift, OAuth2CodeGrantLinkedIn.swift, OAuth2CodeGrantBasicAuth.swift, OAuth2PasswordGrant.swift, OAuth2DynReg.swift
error: Command SwiftCompile failed with a nonzero exit code
Command SwiftCompile failed with a nonzero exit code
Annotations
Check failure on line 34 in Sources/Flows/OAuth2ClientCredentials.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2GrantTypes' in scope
Check failure on line 34 in Sources/Flows/OAuth2ImplicitGrant.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2GrantTypes' in scope
Check failure on line 38 in Sources/Flows/OAuth2ImplicitGrant.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2ResponseTypes' in scope
Check failure on line 30 in Sources/Flows/OAuth2DeviceGrant.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2GrantTypes' in scope
Check failure on line 43 in Sources/Flows/OAuth2DeviceGrant.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2GrantTypes' in scope
Check failure on line 30 in Sources/Flows/OAuth2DeviceGrant.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2GrantTypes' in scope
Check failure on line 43 in Sources/Flows/OAuth2DeviceGrant.swift
github-actions / results-xcode-tests-macOS
error
Cannot find 'OAuth2GrantTypes' in scope