Questions tagged [userinfo]

151 questions
2
votes
1 answer

Name, Email and other profile information from Google's OAuth API

I want both name , email and other profile information for a user once he/she logs in using google oauth. incidentally , if I use https://www.googleapis.com/auth/userinfo.email as the scope , it will give me the user email id and if I use…
deGee
  • 781
  • 1
  • 16
  • 34
2
votes
1 answer

how to replace NSTimer with CADisplayLink?

I call a doPoof method using NSTimer as following: [NSTimer scheduledTimerWithTimeInterval:0.2 target:self selector:@selector(doPoof:) userInfo:myCALayer repeats:FALSE]; How to replace the above using CADisplayLink instead of an NSTimer?
PrimeSeventyThree
  • 940
  • 2
  • 9
  • 24
2
votes
0 answers

Can not get userinfo from keycloaks userinfo endpoint with nuxts auth module

In my nuxt.js app I'm using nuxts "auth" module to connect to a keycloak instance. It works fine if I only want to login. But if I set the "userinfo_endpoint" in the configuration, to get user info with the login, the requests fails with 401.…
odadoda
  • 127
  • 7
2
votes
2 answers

Updating session variables kick user to login page or not?

I'm developing new application and using session variables to store some of the users information like email, permission level, etc. I'm wondering once user decide to update lets say email or permissions for themselves that won't affect right away.…
espresso_coffee
  • 5,980
  • 11
  • 83
  • 193
2
votes
1 answer

Auth0 right way to call userinfo

I have created an API with RS256 signing algorithm and http://localhost:3000/api/v1 as the Identifier (audience) and I added openid, phone, profile as the scopes to the created API Then created an application to invoke the above API, with RS256…
yasithlokuge
  • 253
  • 5
  • 16
2
votes
1 answer

Identity Server 4 access token with user info

So I have began practicing and using Identity Server 4, my goal is to have an authentication and authorization server for all the applications within my organization. I got to the point where I can log in correctly to my identity server from a third…
V. Benavides
  • 533
  • 1
  • 7
  • 21
2
votes
0 answers

Getting logged in user information (using Facebook Login) in WordPress

We're using Oauth (FB Social Sign on through 'Socialiser' plugin) to log users to our Wordpress site. In order to gather analytics, we have to embed currently logged in user's email to an external hyper link. A new user's profile is automatically…
2
votes
1 answer

Get login time for Windows user in Java

Is there a way in Java to get the time when the current user logged in? I know that if you run quser in Windows terminal, it will list some basic information about current users, including LOGON TIME, with minute precision. Is there a System…
Mar
  • 7,765
  • 9
  • 48
  • 82
2
votes
1 answer

how to send array of objects using NSNotification -> userInfo in Swift

userInfo only sends data of type anyObject , so I need to cast my array of Meals to anyObject without crashing and then recasting it to [Meal], unfortunately it crashes here ... var anyOrder = NSMutableArray() for meal in ordered { // ordered…
Mostafa Sultan
  • 2,268
  • 2
  • 20
  • 36
2
votes
1 answer

Extract notification userinfo in a mixed language project

I am working on a mixed language project, combining both Objective C and Swift in XCode 6. In this project, the Singleton (Objective C) class posts a notification which is then received by ViewController (Swift). Singleton.h #import…
quanguyen
  • 1,443
  • 3
  • 17
  • 29
2
votes
2 answers

Change userInfo in timer selector function in Swift

I want to update the userInfo of the timer in the selector function every time the timer fires. userInfo: var timerDic = ["count": 0] Timer: Init: let timer = NSTimer.scheduledTimerWithTimeInterval(1, target: self, selector: …
heimi
  • 499
  • 7
  • 16
2
votes
2 answers

FBRequest not returning user birthdate

I'm using Facebook SDK v.3.18.2 I only wants user's first name, last name, email and date of birth, I'm getting everything except date of birth. I'm surely doing wrong with the permission? Not sure. Here's some code to help you find out my problem, …
Hemang
  • 26,840
  • 19
  • 119
  • 186
2
votes
3 answers

ASIHTTPRequest and userInfo

According to the website for ASIHTTPRequest: If your requests are all of the same broad type, but you want to distinguish between them, you can set the userInfo NSDictionary property of each request with your own custom data that you can…
Sharief
  • 1,487
  • 2
  • 18
  • 26
2
votes
0 answers

navigation drawer with tabs inside

I would like to do a Navigation Drawer with a user info, Photo and name (like play store) and a 3 Tabs to switch three Listviews. (I think it's more easier for user manage three diferent list) Like this: I already read this:…
arickdev
  • 171
  • 2
  • 12
2
votes
1 answer

Django: How can i get the logged user outside of view request?

I have a class method (outside of a view) who needs the logged user's information. How can i retrieve the logged in user without passing the request to the method? Unfortunately i can't find nowhere a nice solution and it's not logical just not…
CodeArtist
  • 5,534
  • 8
  • 40
  • 65
1 2
3
10 11