Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple the EntityFramework adapter from the core project #8

Merged
merged 2 commits into from
Oct 21, 2015

Conversation

kevinchalet
Copy link
Member

(please note that it's still a WIP 😄)

/cc @Bartmax @ilmax

@kevinchalet kevinchalet added this to the 1.0.0-alpha1 milestone Oct 16, 2015
.AddDefaultTokenProviders();
.AddDefaultTokenProviders()

.AddOpenIddict<ApplicationUser, Application>()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not AddOpenIddict<Application> ApplicationUser is already part of the AddIdentity part, can we use that ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Updated 👍

if (application.Type == ApplicationType.Public && !string.IsNullOrEmpty(context.ClientSecret)) {
// Reject tokens requests containing a client_secret
// if the client application is not confidential.
var type = await manager.GetApplicationTypeAsync(application);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: applicationType instead of type

@Bartmax
Copy link
Member

Bartmax commented Oct 21, 2015

:shipit:

@kevinchalet kevinchalet self-assigned this Oct 21, 2015
@kevinchalet kevinchalet merged commit e975d19 into openiddict:dev Oct 21, 2015
@kevinchalet
Copy link
Member Author

Merged. Thanks for the review guys 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants