Skip to content

Replace in-line OAuth2 strings with centralized constants

Sign in for the full log view
GitHub Actions / results-xcode-tests-macOS failed Nov 26, 2024 in 0s

Xcode test results

Build Summary

Compile OAuth2.swift (arm64)
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
error: Swift Compiler Error: Cannot find 'OAuth2TokenTypeIdentifiers' in scope
error: Swift Compiler Error: Cannot find 'OAuth2TokenTypeIdentifiers' in scope
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
error: Swift Compiler Error: Cannot find 'OAuth2TokenTypeIdentifiers' in scope
error: Swift Compiler Error: Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Sources/Flows/OAuth2.swift:362:30: error: cannot find 'OAuth2GrantTypes' in scope
                req.params["grant_type"] = OAuth2GrantTypes.refreshToken
                                           ^~~~~~~~~~~~~~~~
Sources/Flows/OAuth2.swift:427:30: error: cannot find 'OAuth2GrantTypes' in scope
                req.params["grant_type"] = OAuth2GrantTypes.tokenExchange
                                           ^~~~~~~~~~~~~~~~
Sources/Flows/OAuth2.swift:429:40: error: cannot find 'OAuth2TokenTypeIdentifiers' in scope
                req.params["requested_token_type"] = OAuth2TokenTypeIdentifiers.refreshToken
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Sources/Flows/OAuth2.swift:431:38: error: cannot find 'OAuth2TokenTypeIdentifiers' in scope
                req.params["subject_token_type"] = OAuth2TokenTypeIdentifiers.refreshToken
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
Sources/Flows/OAuth2.swift:516:30: error: cannot find 'OAuth2GrantTypes' in scope
                req.params["grant_type"] = OAuth2GrantTypes.tokenExchange
                                           ^~~~~~~~~~~~~~~~
Sources/Flows/OAuth2.swift:519:40: error: cannot find 'OAuth2TokenTypeIdentifiers' in scope
                req.params["requested_token_type"] = OAuth2TokenTypeIdentifiers.accessToken
                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
Sources/Flows/OAuth2.swift:521:38: error: cannot find 'OAuth2TokenTypeIdentifiers' in scope
                req.params["subject_token_type"] = OAuth2TokenTypeIdentifiers.accessToken
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~

Compile OAuth2Response.swift (arm64)
Compile OAuth2CodeGrant.swift (arm64)
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
error: Swift Compiler Error: Cannot find 'OAuth2ResponseTypes' in scope

Sources/Flows/OAuth2CodeGrant.swift:38:10: error: cannot find 'OAuth2GrantTypes' in scope
                return OAuth2GrantTypes.authorizationCode
                       ^~~~~~~~~~~~~~~~
Sources/Flows/OAuth2CodeGrant.swift:42:10: error: cannot find 'OAuth2ResponseTypes' in scope
                return OAuth2ResponseTypes.code
                       ^~~~~~~~~~~~~~~~~~~

Compile OAuth2DataLoader.swift (arm64)
Compile OAuth2CodeGrantNoTokenType.swift (arm64)
Compile OAuth2DataLoaderSessionTaskDelegate.swift (arm64)
Compile OAuth2CodeGrantFacebook.swift (arm64)
Compile OAuth2CodeGrantLinkedIn.swift (arm64)
Compile OAuth2CodeGrantBasicAuth.swift (arm64)
Compile OAuth2PasswordGrant.swift (arm64)
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope

Sources/Flows/OAuth2PasswordGrant.swift:57:10: error: cannot find 'OAuth2GrantTypes' in scope
                return OAuth2GrantTypes.password
                       ^~~~~~~~~~~~~~~~

Compile OAuth2DynReg.swift (arm64)
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)
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)
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope

Sources/Flows/OAuth2ClientCredentials.swift:34:10: error: cannot find 'OAuth2GrantTypes' in scope
                return OAuth2GrantTypes.clientCredentials
                       ^~~~~~~~~~~~~~~~

Compile OAuth2ImplicitGrant.swift (arm64)
error: Swift Compiler Error: Cannot find 'OAuth2GrantTypes' in scope
error: Swift Compiler Error: Cannot find 'OAuth2ResponseTypes' in scope

Sources/Flows/OAuth2ImplicitGrant.swift:34:10: error: cannot find 'OAuth2GrantTypes' in scope
                return OAuth2GrantTypes.implicit
                       ^~~~~~~~~~~~~~~~
Sources/Flows/OAuth2ImplicitGrant.swift:38:10: error: cannot find 'OAuth2ResponseTypes' in scope
                return OAuth2ResponseTypes.token
                       ^~~~~~~~~~~~~~~~~~~

Compile OAuth2ClientCredentialsReddit.swift (arm64)

Annotations

Check failure on line 362 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 427 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 429 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 431 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 516 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 519 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 521 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 38 in Sources/Flows/OAuth2CodeGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 42 in Sources/Flows/OAuth2CodeGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2ResponseTypes' in scope

Check failure on line 57 in Sources/Flows/OAuth2PasswordGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 362 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 427 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 429 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 431 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 516 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 519 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 521 in Sources/Flows/OAuth2.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' in scope

Check failure on line 38 in Sources/Flows/OAuth2CodeGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 42 in Sources/Flows/OAuth2CodeGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2ResponseTypes' in scope

Check failure on line 57 in Sources/Flows/OAuth2PasswordGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 34 in Sources/Flows/OAuth2ClientCredentials.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 34 in Sources/Flows/OAuth2ImplicitGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 38 in Sources/Flows/OAuth2ImplicitGrant.swift

See this annotation in the file changed.

@github-actions github-actions / results-xcode-tests-macOS

error

Cannot find 'OAuth2ResponseTypes' in scope