.Net Authentication Flashcards

1
Q

What is the claim?

A

Claim is a statement about a subject. Claim has type, value and value type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is claim type?

A

The type is more like a key and it’s a string (typically a URI). It contains semantic information about the claim; it tells you what the value of the claim means.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is claim value?

A

The Value property contains the value of the claim. In order to reduce dependencies and simplify administration, the value of a claim is represented only as a string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is claim value type?

A

The value type is a string that identifies the type information for the value. This property should be used to understand the format of the value and to provide information about how to deserialize it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is claim properties?

A

Claim properties is Dictionary<string,string> that allow to add additional properties for claim.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens, if you don’t provide a default schema and schema on authorize attribute?

A

You have an exception “InvalidOperationException: No authenticationScheme was specified, and there was no DefaultAuthenticateScheme found.” So there is no automatic probing of schemes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is claim issuer?

A

The source of the claim

How well did you know this?
1
Not at all
2
3
4
5
Perfectly