An identifier is a name that identifies either a unique object or a unique class of objects.
Questions tagged [identifier]
1353 questions
11
votes
1 answer
Getting User's Token Subject Identifier (sub) From Within Azure AD
My web app is using multiple OAuth 2.0 Identity Providers, and would like to retrieve the 'sub' from the id_token of the Access Token Response and match it with one stored in my app's DB, since 'sub' is an unique id across whatever system the user…

gye
- 1,374
- 3
- 16
- 27
11
votes
2 answers
Can CSS identifiers begin with two hyphens?
CSS 2.1 defines identifiers as
In CSS, identifiers can contain only the characters [a-zA-Z0-9] and
ISO 10646 characters U+00A0 and higher, plus the hyphen (-) and the
underscore (_); they cannot start with a digit, two hyphens, or a
hyphen…

Oriol
- 274,082
- 63
- 437
- 513
11
votes
3 answers
How to get a device identifier using Phonegap
I need to get any number, serial, key or whatever to identify every device where my phonegap app is running, I think uuid also changes when the app updates so it wouldn't work for me.
The scenario here is that the user can synchronize data from the…

Agustín
- 1,546
- 7
- 22
- 41
11
votes
1 answer
How to use EL with in id attribute of a JSF component
I have following code:
However, when I open the page, it errors as…

Niko
- 1,054
- 5
- 25
- 52
11
votes
2 answers
Get Resource Id from ImageView
I am trying to develop a little game.
I have a ViewFlipper which has 50 pictures (random frequence of 4 pictures) in ImageViews. Then I have 4 Buttons with the same 4 pictures which can appear in the ViewFlipper.
The task is to click the right…

Billabong
- 457
- 2
- 8
- 23
10
votes
3 answers
Django - URL design and best practices for identify one object
Im actually working in a django project and I'm not sure about the best format of the URL to access into one particular object page.
I was thinking about these alternatives:
1) Using the autoincremental ID => .com/object/15
This is the simplest and…

Martin Zugnoni
- 1,439
- 2
- 14
- 21
10
votes
1 answer
Symbols that break the identifier rules, e.g. `sub ::("☺") { }`
With the current Rakudo compiler (v2021.10), symbols declared with the ::(…) form do not need to follow the rules for identifiers even when they declare the name of a routine.
This means that the following is code produces the indicated…

codesections
- 8,900
- 16
- 50
10
votes
3 answers
PHP imagick detect transparency
I want to be able to detect whether an image is transparent or not using the Imagick PHP extension.
So far, the only luck I've been having is to run the exec() / some other command, and use the ImageMagick command line tool to achieve this. Here's…

Scott
- 101
- 1
- 3
10
votes
1 answer
Does identifierForVendor change on app update?
I have heard stories where UIDevice.identifierForVendor changed during an app update from App Store.
This answer goes like "...There was a bug affecting the calculation of identifierForVendor when updating an app from app store...". See…

Geri Borbás
- 15,810
- 18
- 109
- 172
10
votes
3 answers
Using a variable as identifier in a json array
I'm wondering if it is possible to use assigned variables as identifier in a json array. When I tried this, I was getting some unexpected results:
(Code is simplified, parameters are passed in a different way)
var parameter = 'animal';
var value =…

Robbert van den Bogerd
- 974
- 6
- 26
10
votes
5 answers
10
votes
4 answers
Get table id by click in td using jQuery
I have a tr in a table header that contains several input fields.
Is there a way that by click on one of these input fields I can get the id of the parent table ?
My tr looks like this: