Hello, I would like to ask you for something. What LightOpenID class should I use? I just have downloaded random one. Your library doesn't work properly for Nette 3.0. Due to this I decided to rewrite the library for my own purposes. I am not able to solve an issue - method auth() in Login class returns nothing in any way. When I was examining your code I found a possible issue. According your code I have to set "identity" variable in auth() method (Login class). When I tried to set the variable, my IDE didn't show this one. When I was examining LightOpenID class (the downloaded one), I found out "identity" variable is private, that means the variable is inaccessable. Why? Is there any solution to solve that? Thank you in advance for a help.
EDIT: Method auth() returns nothing because this condition:
if(!$openID->mode)
is always false. Variable "mode" doesn't exists in whole LightOpenID class. I am very confused.
Hello, I would like to ask you for something. What LightOpenID class should I use? I just have downloaded random one. Your library doesn't work properly for Nette 3.0. Due to this I decided to rewrite the library for my own purposes. I am not able to solve an issue - method auth() in Login class returns nothing in any way. When I was examining your code I found a possible issue. According your code I have to set "identity" variable in auth() method (Login class). When I tried to set the variable, my IDE didn't show this one. When I was examining LightOpenID class (the downloaded one), I found out "identity" variable is private, that means the variable is inaccessable. Why? Is there any solution to solve that? Thank you in advance for a help.
EDIT: Method auth() returns nothing because this condition:
if(!$openID->mode)
is always false. Variable "mode" doesn't exists in whole LightOpenID class. I am very confused.