Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ test: lint

# Formats the code
.PHONY: format
format: .bin/goimports node_modules
format: .bin/cli .bin/goimports node_modules
.bin/cli dev headers license
goimports -w -local github.com/ory .
npm exec -- prettier --write "{**/,}*{.js,.md,.ts}"

Expand Down
3 changes: 3 additions & 0 deletions buildinfo/version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package buildinfo

var (
Expand Down
3 changes: 3 additions & 0 deletions cmd/clidoc/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/auth.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/auth_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/form.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/handler.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/handler_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/http_client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/iohelpers.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/iohelpers_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/print.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/sdks.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/client/tokens.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package client

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/create.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/e2e/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

const express = require("express")
const app = express()
const port = 4001
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/e2e/cypress/integration/integration.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

const randomString = () => (Math.random() + 1).toString(36).substring(7)
const randomPassword = () => randomString() + randomString()
const randomEmail = () => randomString() + "@" + randomString() + ".com"
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/e2e/cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

/// <reference types="cypress" />
// ***********************************************************
// This example plugins/index.js can be used to load plugins
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/e2e/cypress/support/commands.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

// ***********************************************
// This example commands.js shows you how to
// create various custom commands and overwrite
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/e2e/cypress/support/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

// ***********************************************************
// This example support/index.js is processed and
// loaded automatically before your test files.
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/e2e/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/get.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/delete.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/delete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/get.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/get_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/import.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/import_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/list_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/identity/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package identity_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/import.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/introspect.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/is.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/list.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/logout.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/logout_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/oauth2/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package oauth2

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/oauth2/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package oauth2_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/oauth2/flows.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package oauth2

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/oauth2/jwks.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package oauth2

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/oauth2/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package oauth2_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/oauth2/token.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package oauth2

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/parse.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/patch.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/perform.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package cloudx

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/create.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/create_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/get.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/get_identity_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/get_oauth2_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/get_permission_config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/cloudx/project/get_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright © 2022 Ory Corp
// SPDX-License-Identifier: Apache-2.0

package project_test

import (
Expand Down
Loading