Skip to content

Commit 656b900

Browse files
Add missing [NotNull] attributes
Add missing [NotNull] attributes to the OktaPostConfigureOptions class.
1 parent b770efa commit 656b900

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/AspNet.Security.OAuth.Okta/OktaPostConfigureOptions.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
using System;
8+
using JetBrains.Annotations;
89
using Microsoft.Extensions.Options;
910

1011
namespace AspNet.Security.OAuth.Okta
@@ -15,7 +16,9 @@ namespace AspNet.Security.OAuth.Okta
1516
public class OktaPostConfigureOptions : IPostConfigureOptions<OktaAuthenticationOptions>
1617
{
1718
/// <inheritdoc/>
18-
public void PostConfigure(string name, OktaAuthenticationOptions options)
19+
public void PostConfigure(
20+
[NotNull] string name,
21+
[NotNull] OktaAuthenticationOptions options)
1922
{
2023
if (string.IsNullOrWhiteSpace(options.Domain))
2124
{

0 commit comments

Comments
 (0)