Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
i4004 committed Apr 28, 2015
1 parent e3eb4cd commit e9f0c30
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@ public class Startup
}
```

##### Usage with custom key:
```csharp
...
app.UseAesDataProtectorProvider("my key");
...
```

##### Enabling usage with FIPS-compliant CSP provider:
```csharp
...
app.UseAesDataProtectorProvider(null, true);
...
```
or
```csharp
...
app.UseAesDataProtectorProvider("my key", true);
...
```

### Usage example with cookie authentication


Expand Down

0 comments on commit e9f0c30

Please sign in to comment.