Commit Graph

110 Commits (7807a513bce74042f31ab2d2c6316cc2d49f7571)

Author SHA1 Message Date
Michael DePouw 4c8ea3b7e4 Add reference to RequireAssertion() (#6473) 2018-05-18 09:57:26 -05:00
Luke Latham 49e38929e5
Revert tab controls (#6350) 2018-05-10 19:58:40 -05:00
Rick Anderson dd0081eab2
Secure user data sample help (#6289) 2018-05-08 16:40:58 -10:00
Mike Rousos 8609b22061 IAuthorizationPolicyProvider documentation (#6185)
* Initial IAuthorizationPolicyProvider documentation

* Fix links to use xref pattern

* Adjust some phrasing to use more second-person perspective, more active voice, and less future tense

(as suggested by https://github.com/dotnet/docs/blob/master/styleguide/voice-tone.md)

* A few more readability/style tweaks

* Update iauthorizationpolicyprovider.md

* Update iauthorizationpolicyprovider.md

* A few tweaks based on PR feedback

* Readability improvements based on PR feedback

* Include external policy providers as a reason for using `IAuthorizatonPolicyProvider`
2018-05-07 10:09:51 -10:00
Luke Latham f01c69f86b TOC and topic renaming with "feature" removals (#6194)
* TOC and topic renaming work

* Updates

* TOC and topic renaming work

Updates

* Updates
2018-05-03 14:38:00 -05:00
Luke Latham 7048bb8fbf API link updates (#6149)
* API link updates

Updates

One more!

Fix bookmark

Mo updates

More updates

Updates

Updates

* Update action-return-types.md

* Update index.md

* Update concurrency.md

* Update intro.md

* Update localization.md

* Update search.md
2018-05-02 14:45:06 -05:00
Rick Anderson f6c5a25695
authorization requires an authentication mechanism (#5901)
* Update introduction.md

* Update introduction.md

* Update introduction.md

* Update introduction.md

* Update introduction.md
2018-04-10 11:57:51 -10:00
Rick Anderson 1832723bd1
CI Update (#5878) 2018-04-04 13:51:35 -10:00
Luke Latham bdb6d7cafc Title, description, and H1 updates (4) (#5745)
* Title, description, and H1 updates (4)

* Updates

* Updates

* Drop gerunds and update link text

* Update

* Update next.md

* Update routing.md
2018-03-21 14:18:35 -10:00
Luke Latham f7e92a3e67 Title, description, and H1 updates (3) (#5717) 2018-03-19 13:40:34 -10:00
Luke Latham 5894c88187 Security link updates (#5727)
Updates

Revert
2018-03-18 21:25:14 -05:00
Rian Stockbower 943325ae99 Iterating the PendingRequirements collection and calling Succeed on an element modifies the collection throwing an InvalidOperationException https://github.com/aspnet/Security/issues/1375 (#5587) 2018-03-05 21:47:17 -06:00
Luke Latham af3096253c
Title, description, and H1 updates (1) (#5574) 2018-03-01 15:21:56 -06:00
Luke Latham f047169540 Drop [Main] from snippet references (#5547) 2018-02-24 10:08:11 -06:00
Caro Caserio bcba2cc3b9 CC50099: Content updated (#5514)
* CC50099: Content updated

Hello, @rick-anderson,

This proposed file change comes from this Community Contribution: https://github.com/aspnet/Docs.fr-fr/pull/55/files.

Please, help to check this proposed file change into the article and help to merge if you agree with fix. If not, please, let me know either if you would like me to fix it in another way within this PR, if you prefer to fix it in another PR or if I should close this PR as by-design. In case of using another PR, please, let me know of your PR number, so we can confirm and close this PR.

Many thanks in advance.

* Minor tweaks
2018-02-20 09:30:35 -06:00
Barld Boot fe5a497f57 Update index.md (#5515)
* Update index.md

* Update content
2018-02-20 09:18:46 -06:00
Rick Anderson 4d69b62611
remove AuthorizeFolder in secure user data (#5451)
* remove AuthorizeFolder in secure user data

* SSL to HTTPS
2018-02-13 11:39:53 -10:00
Scott Addie 55adac1c98
Mention InvokeHandlersAfterFailure property in policy auth doc (#5445)
* Mention InvokeHandlersAfterFailure property in policy auth doc

* React to feedback

* React to feedback
2018-02-13 13:37:31 -06:00
Mikael 9fc4d1bd64 Replace AllowAnonymousAttribut by AllowAnonymous (#5397)
Replace AllowAnonymousAttribut by AllowAnonymous for the name of the attribut
2018-02-08 10:56:26 -06:00
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