CLIAuthAddClient()

Source

CLIAuthAddClient() {
  options
    ..addOption("allowed-scopes", help: "A space-delimited list of allowed scopes. Omit if application does not support scopes.", defaultsTo: "")
    ..addOption("id", abbr: "i", help: "The client ID to insert.")
    ..addOption("secret",
        abbr: "s",
        help:
            "The client secret. This secret will be hashed on insertion, so you *must* store it somewhere. For public clients, this option may be omitted.")
    ..addOption("redirect-uri",
        abbr: "r",
        help:
            "The redirect URI of the client if it supports the authorization code flow. May be omitted.");
}