18 references to Value
dotnet-user-jwts (18)
Commands\ClearCommand.cs (1)
26
return Execute(cmd.Reporter, cmd.ProjectOption.
Value
(), forceOption.HasValue());
Commands\CreateCommand.cs (9)
92
return Execute(cmd.Reporter, cmd.ProjectOption.
Value
(), options, optionsString, cmd.OutputOption.
Value
(), program);
113
var project = finder.FindMsBuildProject(projectOption.
Value
());
128
var scheme = schemeNameOption.HasValue() ? schemeNameOption.
Value
() : "Bearer";
131
var name = nameOption.HasValue() ? nameOption.
Value
() : Environment.UserName;
141
var issuer = issuerOption.HasValue() ? issuerOption.
Value
() : DevJwtsDefaults.Issuer;
147
if (!ParseDate(notBeforeOption.
Value
(), out notBefore))
158
if (!ParseDate(expiresOnOption.
Value
(), out expiresOn))
178
if (!TimeSpan.TryParseExact(validForOption.
Value
(), _timeSpanFormats, CultureInfo.InvariantCulture, out var validForValue))
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 (1)
27
return Execute(cmd.Reporter, cmd.ProjectOption.
Value
(), idArgument.Value);