Commit Graph

91 Commits (4451fd3129cbca3e2277ae89b15ea4d6836ebc35)

Author SHA1 Message Date
Aaron Hanusa 14531a10fd Update claims.md (#5345) 2018-02-02 11:51:36 -10:00
Rick Anderson b97dfdf3f0
fix range - highlighting (#5337) 2018-02-02 09:16:49 -10:00
Rick Anderson 4c34fcdd48
Update secure-data.md (#5334) 2018-02-01 16:39:39 -10:00
Rick Anderson 6176572dc9
[WIP] Secure user data, react to announcements (#5318)
Secure user data, react to announcements
2018-01-31 17:46:02 -10:00
Luke Latham abbe642741 Organize metadata (#5296)
Updates
2018-01-29 09:21:31 -06:00
Rick Anderson 4313ed3047
RP version of secure user data (#5190)
* RP version of secure user data

* work

* work

* work

* work

* work

* work

* work

* ready 4 review

* pdf and fix

* fixes

* fixes

* fixes

* clean up

* clean up

* clean up

* last draft

* last draft

* Updates to Razor Pages user data protection doc

* Page Model to page model

* code fense to bold

* Updates to Razor Pages user data authorization doc

* Enable copying of .NET Core CLI command

* Change HTML code snippets to CSHTML

* Task.CompletedTask;

* Task.CompletedTask;
2018-01-25 21:06:35 -10:00
Luke Latham 313486d76f Taming the savage contraction issue (#5216)
* Form contractions

* Revert two contractions

* Additional reversions

* Additional reversions

* Additional revisions

* Additional revisions

* React to feedback
2018-01-24 09:27:24 -06:00
Luke Latham 31df8fcabf Remove keywords and ms.assetid metadata from ASP.NET Core topics (#5208) 2018-01-19 14:11:45 -06:00
Scott Addie e9643cf034 Address TOC inconsistencies (#5154)
* Address TOC inconsistencies

* Fix broken links

* Fix security-related TOCs

* Add missing link to Authorization page
2018-01-10 09:58:43 -10:00
Jeroen5356 a9bb2c78cc Inconsistent usage of the 'role' word (#5143)
* Inconsistent usage of the 'role' word

On line 43 the 'Administrator' gets called a 'role' while at line 25 the 'Administrator' gets called a 'group'

* Minor edits
2018-01-09 09:17:22 -06:00
Scott Addie 572899acdc
2.0 updates to Policy Authorization doc (#4849)
* 2.0 updates to Policy Authorization doc

* More changes
2017-12-15 10:02:25 -06:00
Scott Addie 3d4e0e3bf8
Dedent controller code sample 2017-12-06 15:05:16 -06:00
Yi Gyuwon 4e22a25a7e IsInRole is a method, not a property (#4918) 2017-12-04 09:32:59 -06:00
Michael DePouw 4b11174d8c add comma (#4894) 2017-11-29 12:01:14 -10:00
Triwaters 852069fbb0 small correction (#4794)
ContactOperationsRequirements should be ContactOperations
2017-11-14 17:51:29 -10:00
Scott Addie be2048970e
Fix broken sample apps link 2017-11-09 10:23:17 -06:00
Scott Addie 649a2ac2ac
Overhaul of resource-based auth doc (#4715)
* Updates to resource based auth doc

* More edits

* More edits

* Tag with mvc metadata

* Verbiage tweaks

* More edits

* More MVC edits

* More edits

* Initial commit of sample app

* Replace inline code with code imports

* Add download link to sample app

* Correct the requirement class name

* Adjust line number

* Verbiage tweak

* More edits

* Add 1.x sample

* Update sample apps folder name in link

* Minor edits

* More edits

* Fix metadata warnings

* Code cleanup

* Update description metadata

* Update property name in csproj file

* Update old namespaces in ASP.NET Core 2.x app

* Update .NET Fx target framework TODO comments

* Prevent action code from scrolling

* Add Razor Pages sample

* Fix line numbers for highlighting

* Return ForbidResult when appropriate in 2.0 app

* Add authentication assumption notes

* Update metadata

* React to Rick's feedback

* Add 1.x handler snippets
2017-11-08 15:47:59 -06:00
Luke Latham 10478fce6a Razor Pages authorization conventions topic (#4584)
* Razor Pages auth and custom routing topic

Update

Updates

Updates

Sample update

Updates

Use absolute URLs in sample README

* React to feedback

* Filename change

* React to feedback

* Breakdown 1st sentence

* Error page update

* React to feedback

Update

Updates

* Move topic to security/authorization + add crosslinks

Update sample link

* Move topic to 3rd under Authorization in TOC
2017-11-03 12:52:31 -05:00
Yan Ivan Evdokimov 5eff35a52c Changes to resourcebased.md to match Core 2.0 (#4712)
* Changes to resourcebased.md to match Core 2.0

AuthorizeAsync method returns Task<AuthorizationResult> instead of Task<bool> in 2.0.

* Introduce tabs
2017-11-02 10:21:41 -05:00
Scott Addie 8d78fdb67e
Clarify warning message in views auth doc (#4673) 2017-11-01 14:39:15 -05:00
Scott Addie 4c4adff9e8 Add missing description metadata to security docs (#4702) 2017-11-01 09:34:09 -10:00
Michael DePouw 21ff2c2e27 fix anchor link to handler registration (#4690) 2017-10-31 15:42:12 -05:00
Michael DePouw 5b1257452b add heading for handler registration (#4663)
* add heading for handler registration

this will allow for an anchor link (I think, I know ## does, hoping ### does too).  this will help to fix "Illegal link: `[Authorization handlers must be registered](policies.md#security-authorization-policies-based-handler-registration)` -- missing bookmark." on aspnetcore/security/authorization/dependencyinjection.md

reference: https://opbuildstorageprod.blob.core.windows.net/report/2017%5C10%5C13%5C6a0d29ae-bb37-09f1-c55a-4cfa862c6784%5CPullRequest%5C201710131248087361-4562%5Cworkflow_report.html?sv=2015-02-21&sr=b&sig=GbG0qgcJNtJMXYbbzHZqcp2BJNdAKtUYmbwoSscw5IY%3D&st=2017-10-13T12%3A50%3A41Z&se=2017-11-13T12%3A55%3A41Z&sp=r

* change title to sentence case

* change ## titles to sentence case
2017-10-30 13:11:00 -05:00
Michael DePouw 3636765f02 fix bad anchor links (#4662)
reference: https://opbuildstorageprod.blob.core.windows.net/report/2017%5C10%5C13%5C6a0d29ae-bb37-09f1-c55a-4cfa862c6784%5CPullRequest%5C201710131248087361-4562%5Cworkflow_report.html?sv=2015-02-21&sr=b&sig=GbG0qgcJNtJMXYbbzHZqcp2BJNdAKtUYmbwoSscw5IY%3D&st=2017-10-13T12%3A50%3A41Z&se=2017-11-13T12%3A55%3A41Z&sp=r
2017-10-30 11:03:01 -05:00
Michael DePouw 619c44889c fix bad anchor link (#4661)
reference: https://github.com/aspnet/Docs/issues/4649
2017-10-30 10:09:59 -05:00
Michael DePouw aa039cc01b fix bad anchor link (#4660)
reference: https://opbuildstorageprod.blob.core.windows.net/report/2017%5C10%5C13%5C6a0d29ae-bb37-09f1-c55a-4cfa862c6784%5CPullRequest%5C201710131248087361-4562%5Cworkflow_report.html?sv=2015-02-21&sr=b&sig=GbG0qgcJNtJMXYbbzHZqcp2BJNdAKtUYmbwoSscw5IY%3D&st=2017-10-13T12%3A50%3A41Z&se=2017-11-13T12%3A55%3A41Z&sp=r
2017-10-30 10:07:31 -05:00
Scott Addie 2e1012e01b Address customer verbatim in View-based auth doc (#4638)
* Address customer verbatim in View-based auth doc

* Minor edit

* Update TOC link titles
2017-10-26 19:09:55 -10:00
Scott Addie c1c4582ccd Replace magic auth scheme strings (#4626)
* Replace magic auth scheme strings

* Create local constant for storing auth schemes
2017-10-25 15:09:51 -05:00
Scott Addie 912a1efc8f Fix invalid bookmarks (#4570) 2017-10-13 15:50:30 -05:00
Michael DePouw 364790b503 fix illegal links
aspnetcore/security/authorization/policies.md
•	Line 19: [Warning] Illegal link: `[role authorization](roles.md#security-authorization-role-based)` -- missing bookmark. The file security/authorization/roles.md doesn't contain a bookmark named security-authorization-role-based. 
•	Line 19: [Warning] Illegal link: `[claims authorization](claims.md#security-authorization-claims-based)` -- missing bookmark. The file security/authorization/claims.md doesn't contain a bookmark named security-authorization-claims-based.
2017-10-13 09:34:02 -04:00
Scott Addie 1cbd792135 Merge pull request #4531 from aspnet/scottaddie/limiting-identity-2.0
2.0 update of Limiting identity by scheme doc
2017-10-12 15:41:46 -05:00
Scott Addie b5a516462e Change snippet types to cshtml 2017-10-12 15:25:57 -05:00
Scott Addie 9332fc5940 React to feedback 2017-10-12 15:14:00 -05:00
Scott Addie c857c8f187 application --> app 2017-10-12 09:35:20 -05:00
Scott Addie 9d6cafcdc8 Minor tweaks 2017-10-12 09:27:46 -05:00
Rick Anderson a06e47425e Update limitingidentitybyscheme.md 2017-10-11 16:32:14 -10:00
Scott Addie 134813bf59 React to feedback 2017-10-11 15:13:20 -05:00
Scott Addie 6625b36aff Convert link to xref style 2017-10-11 14:04:07 -05:00
Scott Addie e0bf5eb48b Dedent code snippet 2017-10-11 13:48:28 -05:00
Scott Addie 87c6f7ecce Provide more context in last code snippet 2017-10-11 13:41:28 -05:00
Scott Addie 304a6352fe Minor edits 2017-10-11 13:37:31 -05:00
Scott Addie 6d03b6651b Update note for 2.0 2017-10-11 11:47:11 -05:00
Scott Addie cc85485f9a Remove unnecessary anchor 2017-10-11 10:44:16 -05:00
Scott Addie 1d087dc6e7 Update 2.0 code snippet 2017-10-10 14:47:05 -05:00
Scott Addie 8c6bb075e5 2.0 update of Limiting identity by scheme doc 2017-10-10 13:34:19 -05:00
Luke Latham 96cca00e38 Drop literal_block comments and fix a few code blocks 2017-09-27 02:38:43 -05:00
Scott Addie 4a1f227cd5 Fixes #4388 2017-09-25 13:07:35 -05:00
Luke Latham 18d1878f00 Trim keywords of keyword metadata
Patch 3
2017-09-21 02:22:29 -05:00
Luke Latham 652ffb7a4c Link patch (#4324)
* Link patch

* One more
2017-09-19 11:37:22 -05:00
Scott Addie 68bbc114fd Punctuation corrections 2017-09-12 14:31:37 -05:00