jjzjj

authorization

全部标签

【Kafka】Kafka客户端认证失败:Cluster authorization failed.

背景kafka客户端是公司内部基于spring-kafka封装的spring-boot版本:3.xspring-kafka版本:2.1.11.RELEASE集群认证方式:SASL_PLAINTEXT/SCRAM-SHA-512经过多年的经验,以及实际验证,配置是没问题的,但是业务方反馈用相同的配置,还是报错!错误日志2023-12-2118:00:44.051[kafka-producer-network-thread|producer-1]INFOo.a.k.c.p.i.TransactionManager-[ProducerclientId=producer-1]Transitingtof

ios - AWS 无法订阅 SNS 主题 : CognitoIdentityCredentials is not authorized to perform: SNS:Subscribe

我正在尝试使用以下代码将iOS端点订阅到SNS主题:letsns=AWSSNS.defaultSNS()letrequest=AWSSNSCreatePlatformEndpointInput()request.token=deviceTokenStringrequest.platformApplicationArn=SNSPlatformApplicationArnsns.createPlatformEndpoint(request).continueWithExecutor(AWSExecutor.mainThreadExecutor(),withBlock:{(task:AWST

ios - 对 MS Graph API 的请求给我 "Authorization Request Denied - Insufficient privileges to complete the operation"

我对“授权请求被拒绝-权限不足,无法完成操作”消息有疑问,我不断从对WindowsGraphAPI的请求中返回。具体来说,我在Azure云中工作。我有一个调用API的iOS移动应用程序。我已在我的门户中打开“ActiveDirectory身份验证”。然后,在客户端(iOS):[self.todoService.clientloginWithProvider:@"windowsazureactivedirectory"controller:selfanimated:YEScompletion:^(MSUser*user,NSError*error){if(!error&&user){[s

ios - Swift 3.0 迁移后的 Alamofire 错误 : “Extra argument in Call' ” (request method)

我目前正在将我的代码库更新到Swift3.0,并且我正在使用Alamofire。因此,我必须将Alamofire更新到4.0(Alamofiregitrepo)。我有一个请求从服务器获取数据的方法,在迁移之前,它工作得非常好。在使用Xcode的迁移工具之后,我得到了这个错误:“ExtraargumentinCall”。我不太确定为什么此方法不再有效。任何帮助都会很棒!classfuncmakeRequest(_method:RequestMethod,authorization:String?,uri:String,params:JSONDictionary?,retry:Bool=t

ios - 用于 iOS 的 Box.com SDK : Checking authorization status

适用于iOS的box.comSDK有一个名为sharedSDK的对象,该对象包含另一个名为OAuth2Session的对象。OAuth2Session有一个名为isAuthorized的属性。在每次启动应用程序时,此属性都设置为NO。即使我将refreshToken保留在系统钥匙串(keychain)中,并在启动时分配它,如下所示://...applicationDidFinisLaunching...NSString*token=[controllerObjectfetchFromKeychainForKey:@"com.box.token"];[BoxSDKsharedSDK].O

ios - FBSDKLog : Cannot use the Facebook app or Safari to authorize,

当我将我的应用程序部署到真实设备时,我收到“FBSDKLog:无法使用Facebook应用程序或Safari进行授权,fb6262xxxxxxx未注册为URL方案”我遵循了this中的所有解决方案线程没有解决问题 最佳答案 我遇到了同样的问题,我已经解决了这个问题。请看下面的截图。在项目0中使用fb这对我有用。我希望它也对你有用。 关于ios-FBSDKLog:CannotusetheFacebookapporSafaritoauthorize,,我们在StackOverflow上找到一

ios - authorize.net ios sdk 中的 "The authentication type is not allowed for this method call"错误

我正在尝试在我的应用程序中使用授权iossdk作为支付网关。我已成功集成,但测试帐户出现上述错误。AuthNet*an=[AuthNetgetInstance];[ansetDelegate:self];CreditCardType*creditCardType=[CreditCardTypecreditCardType];creditCardType.cardNumber=@"38000000000006";creditCardType.cardCode=@"100";creditCardType.expirationDate=@"121213";PaymentType*paymen

ios - 如何防止未经授权的 HTTP 请求?

我的iOS应用程序中有一些这样的代码:URL*url=[NSURLURLWithString:@"http://urltomyapp.com/createaccount"];ASIFormDataRequest*createAccountRequest=[ASIFormDataRequestrequestWithURL:url];[createAccountRequestsetPostValue:emailforKey:@"email"];[createAccountRequestsetPostValue:passwordforKey:@"password"];[createAccou

ios - 巨大的延迟(没有错误!)仅在请求地址簿权限后第一次

在请求用户允许使用他的地址簿后,我只有第一次出现巨大的延迟(5-6秒)。第一次后,添加新联系人ViewController会立即显示。任何人都知道为什么会这样?我在IOS7.1和8上使用Xcode5或6beta(发生同样的事情)这是我请求权限的方式:ABAddressBookRefaddressBook=NULL;CFErrorReferror=NULL;switch(ABAddressBookGetAuthorizationStatus()){casekABAuthorizationStatusAuthorized:{addressBook=ABAddressBookCreateWi

ios - 信奇短信验证SINVerificationErrorDomain Code=3

idverification=[SINVerificationSMSVerificationWithApplicationKey:SINCH_KeyphoneNumber:phoneNumber];[verificationinitiateWithCompletionHandler:^(BOOLsuccess,NSError*error){if(success){NSLog(@"sucess");}else{NSLog(@"error:%@",error.description);}}];这是错误信息:ErrorDomain=SINVerificationErrorDomainCode