Questions tagged [userinfo]

151 questions
0
votes
1 answer

How to get in keycloak a specific value from the openid connect (user info)?

I'm trying to get the groups to which a user belongs, using the post man to make a request to http://mykeycloak/auth/realms/RealmX/protocol/openid-connect/userinfo with the Authorization header. If a do a get request I receve the json with sub, name…
Carlos Tomás
  • 181
  • 1
  • 8
0
votes
1 answer

conformity requirements for userInfo object of UILocalNotification

Using Swift-2.2, I would like to pass a 'struct' or a 'class object' to userInfo of a UILocalNotification. (see code-illustration below). Can you tell me how this struct needs to be changed in order to be conform to the requirements of the UserInfo…
iKK
  • 6,394
  • 10
  • 58
  • 131
0
votes
2 answers

Android widget for user info page and circle shape user icon

How do I make a user info page like this: For the grey background under the user icon, is it a widget? like simply user a image view or is there a better way to implement this? And if I want the user icon to be a circle shape, other than customize…
0
votes
0 answers

iOS, Swift, fatal error: unexpectedly found nil while unwrapping an Optional value

I've been searching for hours now and can't find the solution to my problem: I am sending a pushnotification to my app with this php script: http://pastebin.com/9axHdM0t. With it I send additional Information: 'patient' => 'test'. Now I wanted to…
JDev
  • 124
  • 1
  • 9
0
votes
1 answer

When using NSNotificationCenter, why must my userInfo be of type [NSObject : AnyObject]?

I am simply trying to pass my WorkoutObject in an NSNotification using Swift 2.0. Here is my code: let myDict = ["MyWorkout" : myWorkoutObj] NSNotificationCenter.defaultCenter().postNotificationName("WorkoutNotification", object: self, userInfo:…
iOSAppGuy
  • 633
  • 7
  • 23
0
votes
1 answer

Maintaining a secure database of user logins and info?

I want to have a login form on a charity website I am building (it's for a friend, and I'm learning on the go), and I want to know what languages/software should I learn to build databases for user logins and info? Note: it HAS to be secure and…
Rafe Kettler
  • 75,757
  • 21
  • 156
  • 151
0
votes
0 answers

Android user Info without google plus integration

Is it possible to get user profile info like Name, profile pic, age, birth date without google plus authentication/integration in android app?
Rushikesh Talokar
  • 1,515
  • 4
  • 16
  • 32
0
votes
1 answer

Sorting an NSArray by a key-value relationship that is 2 levels deep

I have an NSArray of UILocalNotification objects that I need to sort according to a key within the UILocalNotification's userInfo property, which is an NSDictionary. I know how to sort NSArrays by a value that is one level deep, e.g., a key within…
james_womack
  • 10,028
  • 6
  • 55
  • 74
0
votes
2 answers

How to get ["error"]["type"] from error.userInfo in Swift?

I am wondering how do we do this in Swift? I am trying to convert the code below to Swift FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] initWithGraphPath:@"me" parameters:nil]; [request…
JayVDiyk
  • 4,277
  • 22
  • 70
  • 135
0
votes
1 answer

twitter get user profile data

I want to get the user profile data on connect to twitter. I managed to connect and get the access token and access token secret using Tweetsharp Lib. But trying to get the user profile throw an error. So I want to use the Rest Api and just get the…
mashta gidi
  • 849
  • 1
  • 10
  • 30
0
votes
1 answer

.net twitter get user profile

I want to get the user profile data on connect to twitter. I managed to connect and get the access token and access token secret using Tweetsharp Lib. But trying to get the user profile throw an error regarding data type int being too small: An…
mashta gidi
  • 849
  • 1
  • 10
  • 30
0
votes
1 answer

Extra argument 'userinfo' in call CLLocation

The following code gives me an Extra argument 'userinfo' in call error. I've looked at the suggestions from @27620493 and 27875005 class SOViewController : UIViewController { var currentLocation : CLLocation! func…
tfrancis
  • 43
  • 5
0
votes
2 answers

How to print UserInfo with google Oauth2.0 in Php

How can I print UserInfo with the latest version of google Oauth 2.0 if https://www.googleapis.com/auth/userinfo.profile scope is deprecated "google-api-php-client/src/contrib/Google_Oauth2Service.php" Folder doesn't exist anymore I want to…
Ghaffe
  • 13
  • 2
0
votes
1 answer

UserInfo in NSTimer not passing correct information - Swift

Here is some sample code for what I am trying to do. func firstFunction() { var timer = NSTimer.scheduledTimerWithTimeInterval(0.6, target: self, selector: Selector("secondFunction:"), userInfo: self.data!.getInfo(), repeats: false); …
Ricca
  • 311
  • 4
  • 21
0
votes
1 answer

LDAP and ActiveDirectory authentication in C#

I am new to LDAP and active directory authentication , I just studied few things about LDAp authentication and done with sample application I just checking Does the user exist in ActiveDirectory or not public static bool DoesUserExist() { using…
A R S
  • 33
  • 2
  • 17