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