CognitoAuth 用法示例 import Foundation import CognitoAuth let config = AuthConfig ( endpointURL : URL ( string : " https://cognito-idp.ap-southeast-2.amazonaws.com " ) ! , clientId : " theclientid " , clientSecret : " thelcientsecret " , poolId : " 1Q2Q3Q4Q " ) let username = " ausername " let password = " apassword " let service = AuthService ( config : config, username : username, pa