getTokenWithCompletion(_:)
A method you use to retrieve and store the token.
Declaration
class func getTokenWithCompletion(_ completionHandler: @escaping @Sendable (String?, (any Error)?) -> Void)class func token() async throws -> StringA method you use to retrieve and store the token.
class func getTokenWithCompletion(_ completionHandler: @escaping @Sendable (String?, (any Error)?) -> Void)class func token() async throws -> String