diff --git a/Tests/CryptomatorCloudAccessIntegrationTests/Box/BoxAuthenticatorMock.swift b/Tests/CryptomatorCloudAccessIntegrationTests/Box/BoxAuthenticatorMock.swift deleted file mode 100644 index d12d536..0000000 --- a/Tests/CryptomatorCloudAccessIntegrationTests/Box/BoxAuthenticatorMock.swift +++ /dev/null @@ -1,9 +0,0 @@ -// -// BoxAuthenticatorMock.swift -// CryptomatorCloudAccessIntegrationTests -// -// Created by Majid Achhoud on 25.04.24. -// Copyright © 2024 Skymatic GmbH. All rights reserved. -// - -import Foundation diff --git a/Tests/CryptomatorCloudAccessIntegrationTests/README.md b/Tests/CryptomatorCloudAccessIntegrationTests/README.md index 7a33107..5bc22ea 100644 --- a/Tests/CryptomatorCloudAccessIntegrationTests/README.md +++ b/Tests/CryptomatorCloudAccessIntegrationTests/README.md @@ -38,17 +38,6 @@ If you are building via a CI system, set these secret environment variables acco To get a developer token for Box, generate it in the Box Developer Portal, keeping in mind that it expires after 60 minutes. For more detailed instructions, check out the [OAuth 2.0 Documentation from Box](https://developer.box.com/guides/authentication/oauth2/). -To obtain the refresh token from Box, it is recommended to extract it from `authenticate` after a successful login. The easiest way to do this is to set a breakpoint inside the `BoxAuthenticator`: - -```swift -public static func authenticate(from viewController: UIViewController, tokenStore: TokenStore) -> Promise<(BoxClient, String)> { - return Promise { - // ... - fulfill((client, user.id)) // set breakpoint here - // ... -} -``` - #### Dropbox To get the access token for Dropbox, generate a token in the Dropbox Developer Portal. For more detailed instructions, check out the [OAuth Guide from Dropbox](https://developers.dropbox.com/oauth-guide).