You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CommandSpec.no_auth (bool) is replaced by CommandSpec.auth (AuthRequirement), and MiddlewareRequest.no_auth by MiddlewareRequest.auth. CommandContext.credential is now a CredentialResolver instead of Option<Credential>; RuntimeCommandSpec::new and new_typed handler closures receive a CredentialResolver; and Authorizer::authorize receives &CredentialResolver instead of Option<&Credential>. The no_auth(true) builder still works and maps to AuthRequirement::None; auth_optional() and auth(AuthRequirement) select the other policies.
Features
fail-closed authentication via AuthRequirement; populate PKCE identity (#17) (34313bf)
Bug Fixes
render help for <group> help subcommand form (#15) (c21db13)