ory-am/hydra

View on GitHub
cmd/cmd_perform_client_credentials.go

Summary

Maintainability
A
35 mins
Test Coverage

Function NewPerformClientCredentialsCmd has 5 return statements (exceeds 4 allowed).
Open

func NewPerformClientCredentialsCmd() *cobra.Command {
    cmd := &cobra.Command{
        Use:     "client-credentials",
        Args:    cobra.NoArgs,
        Example: `{{ .CommandPath }} --client-id ... --client-secret`,
Severity: Major
Found in cmd/cmd_perform_client_credentials.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status