Created
December 31, 2021 16:56
-
-
Save thomsmed/e47fcccb54a65d0e74fc188417d803d7 to your computer and use it in GitHub Desktop.
AuthTokenProvider.swift - From "Share authentication state across your apps, App Clips and Widgets" @ medium.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // AuthTokenProvider.swift | |
| // | |
| import Foundation | |
| protocol AuthTokenProvider: AnyObject { | |
| func performWithFreshToken(_ action: @escaping (Result<String, Error>) -> Void) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment