OpenIdDict 1 (16.12.2022 M) Flashcards

1
Q

Name four stores that OpenIdDict has.

A

They are Application, Authorization, Scope, Token.

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

What does the Application table contain?

A

It contains information about clients and their configuration.

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

What does the Authorization table contain?

A

It contains information about authorization attempts, which are associated with the Application.

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

What does the Token table contain?

A

It contains issued tokens, which are associated with Authorization and Application.

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

What does the Scope table contain?

A

It contains information about scopes.

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

What does UseOpenIddict() call make?

A

It hooks ModelBuilder of DbContext via IModelCustomizer in order to put Application, Authorization, Scope, and Token models configuration.

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

What does services.AddOpenIddict() call make?

A

It just creates the instance of OpenIddictBuilder. Which, by the way, contains only IServicesCollection property. And when you further configure OpenIdDict you just call extension methods, which register some services in it.

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