Build login endpoint; modify swagger to use token #10
Annotations
10 warnings
build:
api/Migrations/20240515013713_init.cs#L9
The type name 'init' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
build:
api/Migrations/20240515013713_init.Designer.cs#L16
The type name 'init' only contains lower-cased ascii characters. Such names may become reserved for the language.
|
build:
api/Data/AppDbContext.cs#L14
'AppDbContext.Users' hides inherited member 'IdentityUserContext<AppUser, string, IdentityUserClaim<string>, IdentityUserLogin<string>, IdentityUserToken<string>>.Users'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
|
build:
api/Services/TokenService.cs#L18
Non-nullable field '_configuration' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build:
api/Services/TokenService.cs#L28
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
|
build:
api/Services/TokenService.cs#L29
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
|
build:
api/Controllers/AccountController.cs#L43
Possible null reference argument for parameter 'password' in 'Task<IdentityResult> UserManager<AppUser>.CreateAsync(AppUser user, string password)'.
|
build:
api/Controllers/AccountController.cs#L54
Possible null reference assignment.
|
build:
api/Controllers/AccountController.cs#L55
Possible null reference assignment.
|
build:
api/Controllers/AccountController.cs#L104
Possible null reference assignment.
|