CognitoAuth:Swift Cognito SRP身份验证流程(实验性)

时间:2024-04-22 23:22:30
【文件属性】:

文件名称:CognitoAuth:Swift Cognito SRP身份验证流程(实验性)

文件大小:16KB

文件格式:ZIP

更新时间:2024-04-22 23:22:30

Swift

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


【文件预览】:
CognitoAuth-main
----.gitignore(53B)
----Sources()
--------CognitoAuth()
----.swiftpm()
--------xcode()
----README.md(1KB)
----Package.resolved(589B)
----Package.swift(1KB)
----Tests()
--------LinuxMain.swift(124B)
--------CognitoAuthTests()

网友评论