Skip to content

Replace in-line OAuth2 strings with centralized constants #38

Replace in-line OAuth2 strings with centralized constants

Replace in-line OAuth2 strings with centralized constants #38

GitHub Actions / results-xcode-tests-tvOS failed Nov 26, 2024 in 0s

Xcode test results

Build Summary

Build stat cache for /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk
Compile OAuth2DataRequest.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 OAuth2AuthorizerUI.swift (arm64)
Compile extensions.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 OAuth2CodeGrantBasicAuth.swift (arm64)
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 OAuth2Requestable.swift (arm64)
Compile OAuth2Base.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 OAuth2Response.swift (arm64)
Compile OAuth2DebugURLSessionDelegate.swift (arm64)
Compile OAuth2Authorizer+tvOS.swift (arm64)
Compile OAuth2DataLoader.swift (arm64)
Compile OAuth2CustomAuthorizerUI.swift (arm64)
Compile OAuth2Logger.swift (arm64)
Compile OAuth2Securable.swift (arm64)
Compile OAuth2AuthConfig.swift (arm64)
Compile OAuth2AuthRequest.swift (arm64)
Compile OAuth2ClientConfig.swift (arm64)
Compile OAuth2CodeGrantNoTokenType.swift (arm64)
Compile OAuth2DynReg.swift (arm64)

Annotations

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

See this annotation in the file changed.

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

error

Cannot find 'OAuth2GrantTypes' 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-tvOS

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-tvOS

error

Cannot find 'OAuth2ResponseTypes' 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-tvOS

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-tvOS

error

Cannot find 'OAuth2ResponseTypes' in scope

Check failure on line 30 in Sources/Flows/OAuth2DeviceGrant.swift

See this annotation in the file changed.

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

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 43 in Sources/Flows/OAuth2DeviceGrant.swift

See this annotation in the file changed.

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

error

Cannot find 'OAuth2GrantTypes' 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-tvOS

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-tvOS

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-tvOS

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-tvOS

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-tvOS

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-tvOS

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-tvOS

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-tvOS

error

Cannot find 'OAuth2TokenTypeIdentifiers' 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-tvOS

error

Cannot find 'OAuth2GrantTypes' 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-tvOS

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-tvOS

error

Cannot find 'OAuth2ResponseTypes' 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-tvOS

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-tvOS

error

Cannot find 'OAuth2ResponseTypes' in scope

Check failure on line 30 in Sources/Flows/OAuth2DeviceGrant.swift

See this annotation in the file changed.

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

error

Cannot find 'OAuth2GrantTypes' in scope

Check failure on line 43 in Sources/Flows/OAuth2DeviceGrant.swift

See this annotation in the file changed.

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

error

Cannot find 'OAuth2GrantTypes' in scope