21 references to Value
dotnet-user-jwts (21)
Commands\ClearCommand.cs (2)
31
if (!DevJwtCliHelpers.GetProjectAndSecretsId(cmd.ProjectOption.
Value
(), cmd.Reporter, out var project, out var userSecretsId))
36
if (!DevJwtCliHelpers.GetAppSettingsFile(project, appsettingsFileOption.
Value
(), cmd.Reporter, out var appsettingsFile))
Commands\CreateCommand.cs (10)
97
return Execute(cmd.Reporter, cmd.ProjectOption.
Value
(), options, optionsString, cmd.OutputOption.
Value
(), appsettingsFile, program);
119
var project = finder.FindMsBuildProject(projectOption.
Value
());
135
var scheme = schemeNameOption.HasValue() ? schemeNameOption.
Value
() : "Bearer";
138
var name = nameOption.HasValue() ? nameOption.
Value
() : Environment.UserName;
148
var issuer = issuerOption.HasValue() ? issuerOption.
Value
() : DevJwtsDefaults.Issuer;
154
if (!ParseDate(notBeforeOption.
Value
(), out notBefore))
165
if (!ParseDate(expiresOnOption.
Value
(), out expiresOn))
185
if (!TimeSpan.TryParseExact(validForOption.
Value
(), _timeSpanFormats, CultureInfo.InvariantCulture, out var validForValue))
222
isValid = DevJwtCliHelpers.GetAppSettingsFile(project, appsettingsFileOption.
Value
(), reporter, out appsettingsFile);
Commands\KeyCommand.cs (3)
44
cmd.ProjectOption.
Value
(),
45
schemeOption.
Value
() ?? DevJwtsDefaults.Scheme,
46
issuerOption.
Value
() ?? DevJwtsDefaults.Issuer,
Commands\ListCommand.cs (2)
27
return Execute(cmd.Reporter, cmd.ProjectOption.
Value
(), showTokensOption.HasValue(), cmd.OutputOption.
Value
());
Commands\PrintCommand.cs (2)
31
cmd.ProjectOption.
Value
(),
34
cmd.OutputOption.
Value
());
Commands\RemoveCommand.cs (2)
34
if (!DevJwtCliHelpers.GetProjectAndSecretsId(cmd.ProjectOption.
Value
(), cmd.Reporter, out var project, out var userSecretsId))
39
if (!DevJwtCliHelpers.GetAppSettingsFile(project, appsettingsFileOption.
Value
(), cmd.Reporter, out var appsettingsFile))