language stringlengths 0 24 | filename stringlengths 9 214 | code stringlengths 99 9.93M |
|---|---|---|
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0003.json | {
"ID": "sig-0003",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0003",
"ConsentChallenge": {
"String": "",
"Valid": false
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0003",
"GrantedScope": "granted_scope-0003",
"RequestedAudience": "",
"Grant... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0004.json | {
"ID": "sig-0004",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0004",
"ConsentChallenge": {
"String": "",
"Valid": false
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0004",
"GrantedScope": "granted_scope-0004",
"RequestedAudience": "",
"Grant... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0005.json | {
"ID": "sig-0005",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0005",
"ConsentChallenge": {
"String": "",
"Valid": false
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0005",
"GrantedScope": "granted_scope-0005",
"RequestedAudience": "",
"Grant... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0006.json | {
"ID": "sig-0006",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0006",
"ConsentChallenge": {
"String": "",
"Valid": false
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0006",
"GrantedScope": "granted_scope-0006",
"RequestedAudience": "",
"Grant... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0007.json | {
"ID": "sig-0007",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0007",
"ConsentChallenge": {
"String": "",
"Valid": false
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0007",
"GrantedScope": "granted_scope-0007",
"RequestedAudience": "requested_a... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0008.json | {
"ID": "sig-0008",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0008",
"ConsentChallenge": {
"String": "challenge-0014",
"Valid": true
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0008",
"GrantedScope": "granted_scope-0008",
"RequestedAudience":... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0009.json | {
"ID": "sig-0009",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0009",
"ConsentChallenge": {
"String": "challenge-0014",
"Valid": true
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0009",
"GrantedScope": "granted_scope-0009",
"RequestedAudience":... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0010.json | {
"ID": "sig-0010",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0010",
"ConsentChallenge": {
"String": "challenge-0014",
"Valid": true
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0010",
"GrantedScope": "granted_scope-0010",
"RequestedAudience":... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-0011.json | {
"ID": "sig-0011",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-0011",
"ConsentChallenge": {
"String": "challenge-0014",
"Valid": true
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0011",
"GrantedScope": "granted_scope-0011",
"RequestedAudience":... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-20201110104000-01.json | {
"ID": "sig-20201110104000-01",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-20201110104000",
"ConsentChallenge": {
"String": "challenge-0014",
"Valid": true
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0011",
"GrantedScope": "granted_scope-0011",... |
JSON | hydra/persistence/sql/migratest/fixtures/hydra_oauth2_refresh/sig-20201110104000.json | {
"ID": "sig-20201110104000",
"NID": "00000000-0000-0000-0000-000000000000",
"Request": "req-20201110104000",
"ConsentChallenge": {
"String": "challenge-0014",
"Valid": true
},
"RequestedAt": "0001-01-01T00:00:00Z",
"Client": "",
"Scopes": "scope-0011",
"GrantedScope": "granted_scope-0011",
... |
SQL | hydra/persistence/sql/migratest/testdata/20150101000001_testdata.sql | -- INSERT INTO networks (id, created_at, updated_at) VALUES ('24704dcb-0ab9-4bfa-a84c-405932ae53fe', '2013-10-07 08:23:19', '2013-10-07 08:23:19'); |
SQL | hydra/persistence/sql/migratest/testdata/20190100000001_testdata.sql | INSERT INTO hydra_client (id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, public) VALUES ('client-0001', 'Client 0001', 'secret-0001', 'http://redirect/0001_1', 'grant-0001_1', 'response-0001_1', 'scope-0001', 'owner-0001', '... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000002_testdata.sql | INSERT INTO hydra_client (id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, public, client_secret_expires_at) VALUES ('client-0002', 'Client 0002', 'secret-0002', 'http://redirect/0002_1', 'grant-0002_1', 'response-0002_1', 'sc... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000003_testdata.sql | INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, public, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000004_testdata.sql | INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, public, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000005_testdata.sql | INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_signed_... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000006_testdata.sql | INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_signed_... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000007_testdata.sql | INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_signed_... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000008_testdata.sql | INSERT INTO hydra_client
(id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_signed_... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000009_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000010_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000011_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000012_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000013_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20190100000014_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20190200000002_testdata.sql | INSERT INTO hydra_jwk
(sid, kid, version, keydata, created_at)
VALUES
('sid-0002', 'kid-0002', 2, 'key-0002', now()); |
SQL | hydra/persistence/sql/migratest/testdata/20190200000003_testdata.sql | INSERT INTO hydra_jwk
(sid, kid, version, keydata, created_at)
VALUES
('sid-0003', 'kid-0003', 3, 'key-0003', now()); |
SQL | hydra/persistence/sql/migratest/testdata/20190200000004_testdata.sql | INSERT INTO hydra_jwk
(sid, kid, version, keydata, created_at, pk)
VALUES
('sid-0004', 'kid-0004', 4, 'key-0004', now(), 4); |
SQL | hydra/persistence/sql/migratest/testdata/20190300000001_testdata.sql | -- The contents of this file were moved into 20190300000003_testdata.sql due to
-- conflicting requirements:
--
-- 1. The test cases whose data used to be in this file (used to) require the
-- ability to load a consent challenge with NULL login_challenge (the column is
-- added in migration 20190300000003).
--
-- 2. Hy... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000002_testdata.sql | -- The contents of this file were moved into 20190300000003_testdata.sql due to
-- conflicting requirements:
--
-- 1. The test cases whose data used to be in this file (used to) require the
-- ability to load a consent challenge with NULL login_challenge (the column is
-- added in migration 20190300000003).
--
-- 2. Hy... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000003_testdata.sql | -- 20190300000001_testdata.sql (see 20190300000001_testdata.sql for an explanation)
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_consent_request (challenge, login_challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf, authenticated_at, requested_at, oidc_co... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000004_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0004', now(), 'subject-0004');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000005_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0005', now(), 'subject-0005');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000006_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0006', now(), 'subject-0006');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000007_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0007', now(), 'subject-0007');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000008_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0008', now(), 'subject-0008');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000009_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0009', now(), 'subject-0009');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000010_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject)
VALUES
('auth_session-0010', now(), 'subject-0010');
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, requested_scope, csrf,... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000011_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject, remember)
VALUES
('auth_session-0011', now(), 'subject-0011', false);
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, reque... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000012_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject, remember)
VALUES
('auth_session-0012', now(), 'subject-0012', false);
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, reque... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000013_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject, remember)
VALUES
('auth_session-0013', now(), 'subject-0013', false);
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, reque... |
SQL | hydra/persistence/sql/migratest/testdata/20190300000014_testdata.sql | INSERT INTO hydra_oauth2_authentication_session
(id, authenticated_at, subject, remember)
VALUES
('auth_session-0014', now(), 'subject-0014', false);
-- using the most lately added client as a foreign key
INSERT INTO hydra_oauth2_authentication_request (challenge, verifier, client_id, subject, request_url, skip, reque... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000001_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data)
SELECT 'sig-0001', 'req-0001', now(), hydra_client.id, 'scope-0001', 'granted_scope-0001', 'form_data-0001', 'session-0001'
FROM hydra_client
ORDER BY hydra_client.pk DESC
LIMIT 1;
INSERT INT... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000002_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject)
SELECT 'sig-0002', 'req-0002', now(), hydra_client.id, 'scope-0002', 'granted_scope-0002', 'form_data-0002', 'session-0002', 'subject-0002'
FROM hydra_client
ORDER BY hydra_client.pk ... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000003_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject)
SELECT 'sig-0003', 'req-0003', now(), hydra_client.id, 'scope-0003', 'granted_scope-0003', 'form_data-0003', 'session-0003', 'subject-0003'
FROM hydra_client
ORDER BY hydra_client.pk ... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000004_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active)
SELECT 'sig-0004', 'req-0004', now(), hydra_client.id, 'scope-0004', 'granted_scope-0004', 'form_data-0004', 'session-0004', 'subject-0004', false
FROM hydra_client
ORDER BY h... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000005_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active)
SELECT 'sig-0005', 'req-0005', now(), hydra_client.id, 'scope-0005', 'granted_scope-0005', 'form_data-0005', 'session-0005', 'subject-0005', false
FROM hydra_client
ORDER BY h... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000006_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active)
SELECT 'sig-0006', 'req-0006', now(), hydra_client.id, 'scope-0006', 'granted_scope-0006', 'form_data-0006', 'session-0006', 'subject-0006', false
FROM hydra_client
ORDER BY h... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000007_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active, requested_audience, granted_audience)
SELECT 'sig-0007', 'req-0007', now(), hydra_client.id, 'scope-0007', 'granted_scope-0007', 'form_data-0007', 'session-0007', 'subject-000... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000008_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active, requested_audience, granted_audience, challenge_id)
SELECT 'sig-0008', 'req-0008', now(), hc.id, 'scope-0008', 'granted_scope-0008', 'form_data-0008', 'session-0008', 'subject... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000009_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active, requested_audience, granted_audience, challenge_id)
SELECT 'sig-0009', 'req-0009', now(), hc.id, 'scope-0009', 'granted_scope-0009', 'form_data-0009', 'session-0009', 'subject... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000010_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active, requested_audience, granted_audience, challenge_id)
SELECT 'sig-0010', 'req-0010', now(), hc.id, 'scope-0010', 'granted_scope-0010', 'form_data-0010', 'session-0010', 'subject... |
SQL | hydra/persistence/sql/migratest/testdata/20190400000011_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active, requested_audience, granted_audience, challenge_id)
SELECT 'sig-0011', 'req-0011', now(), hc.id, 'scope-0011', 'granted_scope-0011', 'form_data-0011', 'session-0011', 'subject... |
SQL | hydra/persistence/sql/migratest/testdata/20200527215732_testdata.sql | INSERT INTO hydra_client
(pk, id, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_sig... |
SQL | hydra/persistence/sql/migratest/testdata/20201110104000_testdata.sql | INSERT INTO hydra_oauth2_access (signature, request_id, requested_at, client_id, scope, granted_scope, form_data, session_data, subject, active, requested_audience, granted_audience, challenge_id)
SELECT 'sig-20201110104000', 'req-20201110104000', CURRENT_TIMESTAMP, hc.id, 'scope-0011', 'granted_scope-0011', 'form_data... |
SQL | hydra/persistence/sql/migratest/testdata/20210928175900_testdata.sql | INSERT INTO hydra_client
(
pk,
id,
client_name,
client_secret,
redirect_uris,
grant_types,
response_types,
scope,
owner,
policy_uri,
tos_uri,
client_uri,
logo_uri,
contacts,
client_secret_expires_at,
sector_identifier_uri,
jwks,
jwks_uri,
request_uris,
token_endpoint_auth_method,... |
SQL | hydra/persistence/sql/migratest/testdata/20211004110001_testdata.sql | INSERT INTO hydra_client
(
pk,
pk_deprecated,
id,
client_name,
client_secret,
redirect_uris,
grant_types,
response_types,
scope,
owner,
policy_uri,
tos_uri,
client_uri,
logo_uri,
contacts,
client_secret_expires_at,
sector_identifier_uri,
jwks,
jwks_uri,
request_uris,
token_endp... |
SQL | hydra/persistence/sql/migratest/testdata/20211011000001_testdata.sql | INSERT INTO hydra_jwk
(sid, kid, version, keydata, created_at, pk)
VALUES
('sid-0005', 'kid-0005', 4, 'key-0005', CURRENT_TIMESTAMP, '94075738-c3e7-41bc-a7a5-89aece609c39'); |
SQL | hydra/persistence/sql/migratest/testdata/20211226155900_testdata.sql | INSERT INTO hydra_jwk (pk, sid, kid, version, keydata, created_at) VALUES ('e18d8447-3ec2-42d9-a3ad-e7cca8aa81f0', 'sid-0008', 'kid-0008', 2, 'key-0002', CURRENT_TIMESTAMP);
INSERT INTO hydra_oauth2_trusted_jwt_bearer_issuer (id, issuer, subject, scope, key_set, key_id)
VALUES ('30e51720-4a88-48ca-8243-de7d8f461674', ... |
SQL | hydra/persistence/sql/migratest/testdata/20220210000001_testdata.cockroach.sql | INSERT INTO hydra_client (id, nid, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_si... |
SQL | hydra/persistence/sql/migratest/testdata/20220210000001_testdata.sqlite3.sql | INSERT INTO hydra_client (id, nid, client_name, client_secret, redirect_uris, grant_types, response_types, scope, owner, policy_uri, tos_uri, client_uri, logo_uri, contacts, client_secret_expires_at, sector_identifier_uri, jwks, jwks_uri, request_uris, token_endpoint_auth_method, request_object_signing_alg, userinfo_si... |
SQL | hydra/persistence/sql/migratest/testdata/20220328111500_testdata.sql | INSERT INTO hydra_jwk (pk_deprecated, pk, sid, kid, nid, version, keydata, created_at) VALUES (9, '98565339-57c7-4bc0-bc3d-53171d60e832', 'sid-0009', 'kid-0009', (SELECT id FROM networks LIMIT 1), 2, 'key-0002', CURRENT_TIMESTAMP);
INSERT INTO hydra_oauth2_trusted_jwt_bearer_issuer (id, nid, issuer, subject, allow_any... |
SQL | hydra/persistence/sql/migratest/testdata/20220513000001_testdata.sql | INSERT INTO hydra_client (
id,
nid,
client_name,
client_secret,
redirect_uris,
grant_types,
response_types,
scope,
owner,
policy_uri,
tos_uri,
client_uri,
logo_uri,
contacts,
client_secret_expires_at,
sector_identifier_uri,
jwks,
jwks_uri,
request_uris,
token_endpoint_auth_method... |
SQL | hydra/persistence/sql/migratest/testdata/20230313112801000001_testdata.sql | INSERT INTO hydra_oauth2_authentication_session (
id,
nid,
authenticated_at,
subject,
remember
) VALUES (
'auth_session-0016',
(SELECT id FROM networks LIMIT 1),
CURRENT_TIMESTAMP,
'subject-0016',
true
);
INSERT INTO hydra_oauth2_flow (
login_challenge,
nid,
requested_scope,
login_verifier,... |
SQL | hydra/persistence/sql/migratest/testdata/20230809122501000001_testdata.sql | INSERT INTO hydra_oauth2_authentication_session (
id,
nid,
authenticated_at,
subject,
remember,
identity_provider_session_id
) VALUES (
'auth_session-0017',
(SELECT id FROM networks LIMIT 1),
CURRENT_TIMESTAMP,
'subject-0017',
true,
'identity_provider_session_id-0017'
);
INSERT INTO hydra_oauth... |
SQL | hydra/persistence/sql/migrations/20150101000001000000_networks.cockroach.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE TABLE "networks" (
"id" UUID NOT NULL,
PRIMARY KEY("id"),
"created_at" timestamp NOT NULL,
"updated_at" timestamp NOT NULL
);
INSERT INTO networks (id, created_at, updated_at) VALUES (gen_random_uuid(), '2013-1... |
SQL | hydra/persistence/sql/migrations/20150101000001000000_networks.down.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
-- Down migrations from Hydra 2.x to 1.x are not available. |
SQL | hydra/persistence/sql/migrations/20150101000001000000_networks.mysql.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE TABLE `networks` (
`id` char(36) NOT NULL,
PRIMARY KEY(`id`),
`created_at` DATETIME NOT NULL,
`updated_at` DATETIME NOT NULL
);
INSERT INTO networks (id, created_at, updated_at) VALUES ((SELECT LOWER(CONCAT(
... |
SQL | hydra/persistence/sql/migrations/20150101000001000000_networks.postgres.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE TABLE "networks" (
"id" UUID NOT NULL,
PRIMARY KEY("id"),
"created_at" timestamp NOT NULL,
"updated_at" timestamp NOT NULL
);
INSERT INTO networks (id, created_at, updated_at) VALUES (uuid_in(
overlay(
ov... |
SQL | hydra/persistence/sql/migrations/20150101000001000000_networks.sqlite.up.sql | -- Migration generated by the command below; DO NOT EDIT.
-- hydra:generate hydra migrate gen
CREATE TABLE "networks" (
"id" TEXT PRIMARY KEY,
"created_at" DATETIME NOT NULL,
"updated_at" DATETIME NOT NULL
);
INSERT INTO networks (id, created_at, updated_at) VALUES (lower(
hex(randomblob(4)) ||
'-' || hex(ra... |
SQL | hydra/persistence/sql/migrations/20190100000001000000_client.up.sql | CREATE TABLE IF NOT EXISTS hydra_client (
id varchar(255) NOT NULL PRIMARY KEY,
client_name text NOT NULL,
client_secret text NOT NULL,
redirect_uris text NOT NULL,
grant_types text NOT NULL,
response_types text NOT NULL,
scope text NOT NULL,
owner text NOT NULL,
policy_u... |
SQL | hydra/persistence/sql/migrations/20190100000003000000_client.down.sql | ALTER TABLE hydra_client DROP COLUMN sector_identifier_uri;
ALTER TABLE hydra_client DROP COLUMN jwks;
ALTER TABLE hydra_client DROP COLUMN jwks_uri;
ALTER TABLE hydra_client DROP COLUMN token_endpoint_auth_method;
ALTER TABLE hydra_client DROP COLUMN request_uris;
ALTER TABLE hydra_client DROP COLUMN request_object_si... |
SQL | hydra/persistence/sql/migrations/20190100000003000000_client.up.sql | ALTER TABLE hydra_client ADD sector_identifier_uri TEXT;
ALTER TABLE hydra_client ADD jwks TEXT;
ALTER TABLE hydra_client ADD jwks_uri TEXT;
ALTER TABLE hydra_client ADD request_uris TEXT;
ALTER TABLE hydra_client ADD token_endpoint_auth_method VARCHAR(25) NOT NULL DEFAULT '';
ALTER TABLE hydra_client ADD request_objec... |
SQL | hydra/persistence/sql/migrations/20190100000004000000_client.mysql.down.sql | ALTER TABLE hydra_client MODIFY sector_identifier_uri TEXT;
ALTER TABLE hydra_client MODIFY jwks TEXT;
ALTER TABLE hydra_client MODIFY jwks_uri TEXT;
ALTER TABLE hydra_client MODIFY request_uris TEXT; |
SQL | hydra/persistence/sql/migrations/20190100000004000000_client.mysql.up.sql | UPDATE hydra_client SET sector_identifier_uri='', jwks='', jwks_uri='', request_uris='';
ALTER TABLE hydra_client MODIFY sector_identifier_uri TEXT NOT NULL;
ALTER TABLE hydra_client MODIFY jwks TEXT NOT NULL;
ALTER TABLE hydra_client MODIFY jwks_uri TEXT NOT NULL;
ALTER TABLE hydra_client MODIFY request_uris TEXT NOT ... |
SQL | hydra/persistence/sql/migrations/20190100000004000000_client.postgres.down.sql | ALTER TABLE hydra_client ALTER COLUMN sector_identifier_uri DROP NOT NULL;
ALTER TABLE hydra_client ALTER COLUMN jwks DROP NOT NULL;
ALTER TABLE hydra_client ALTER COLUMN jwks_uri DROP NOT NULL;
ALTER TABLE hydra_client ALTER COLUMN request_uris DROP NOT NULL; |
SQL | hydra/persistence/sql/migrations/20190100000004000000_client.postgres.up.sql | UPDATE hydra_client SET sector_identifier_uri='', jwks='', jwks_uri='', request_uris='';
ALTER TABLE hydra_client ALTER COLUMN sector_identifier_uri SET NOT NULL;
ALTER TABLE hydra_client ALTER COLUMN jwks SET NOT NULL;
ALTER TABLE hydra_client ALTER COLUMN jwks_uri SET NOT NULL;
ALTER TABLE hydra_client ALTER COLUMN r... |
SQL | hydra/persistence/sql/migrations/20190100000005000000_client.down.sql | ALTER TABLE hydra_client ADD public BOOLEAN NOT NULL DEFAULT FALSE;
UPDATE hydra_client SET public=TRUE WHERE token_endpoint_auth_method='none'; |
SQL | hydra/persistence/sql/migrations/20190100000005000000_client.up.sql | UPDATE hydra_client SET token_endpoint_auth_method='none' WHERE public=TRUE;
ALTER TABLE hydra_client DROP COLUMN public; |
SQL | hydra/persistence/sql/migrations/20190100000008000000_client.mysql.up.sql | UPDATE hydra_client SET allowed_cors_origins='';
ALTER TABLE hydra_client MODIFY allowed_cors_origins TEXT NOT NULL; |
SQL | hydra/persistence/sql/migrations/20190100000008000000_client.postgres.up.sql | UPDATE hydra_client SET allowed_cors_origins='';
ALTER TABLE hydra_client ALTER COLUMN allowed_cors_origins SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20190100000009000000_client.mysql.down.sql | ALTER TABLE hydra_client DROP COLUMN pk;
ALTER TABLE hydra_client DROP INDEX hydra_client_idx_id_uq;
ALTER TABLE hydra_client ADD PRIMARY KEY (id); |
SQL | hydra/persistence/sql/migrations/20190100000009000000_client.mysql.up.sql | ALTER TABLE hydra_client DROP PRIMARY KEY;
CREATE UNIQUE INDEX hydra_client_idx_id_uq ON hydra_client (id);
ALTER TABLE hydra_client ADD pk INT UNSIGNED AUTO_INCREMENT PRIMARY KEY; |
SQL | hydra/persistence/sql/migrations/20190100000009000000_client.postgres.down.sql | ALTER TABLE hydra_client DROP CONSTRAINT hydra_client_pkey;
ALTER TABLE hydra_client DROP COLUMN pk;
DROP INDEX hydra_client_idx_id_uq;
ALTER TABLE hydra_client ADD PRIMARY KEY (id); |
SQL | hydra/persistence/sql/migrations/20190100000009000000_client.postgres.up.sql | ALTER TABLE hydra_client DROP CONSTRAINT hydra_client_pkey;
ALTER TABLE hydra_client ADD pk SERIAL;
ALTER TABLE hydra_client ADD PRIMARY KEY (pk);
CREATE UNIQUE INDEX hydra_client_idx_id_uq ON hydra_client (id); |
SQL | hydra/persistence/sql/migrations/20190100000012000000_client.up.sql | ALTER TABLE hydra_client ADD created_at timestamp NOT NULL DEFAULT now();
ALTER TABLE hydra_client ADD updated_at timestamp NOT NULL DEFAULT now(); |
SQL | hydra/persistence/sql/migrations/20190100000013000000_client.cockroach.up.sql | CREATE TABLE IF NOT EXISTS hydra_client (
id varchar(255) NOT NULL,
client_name text NOT NULL,
client_secret text NOT NULL,
redirect_uris text NOT NULL,
grant_types text NOT NULL,
response_types text NOT NULL,
scope text NOT NULL,
owner text NOT NULL,
policy_uri text NOT NULL,
tos_uri text NOT NULL,
client_u... |
SQL | hydra/persistence/sql/migrations/20190100000013000000_client.mysql.down.sql | ALTER TABLE hydra_client DROP COLUMN frontchannel_logout_uri;
ALTER TABLE hydra_client DROP COLUMN frontchannel_logout_session_required;
ALTER TABLE hydra_client DROP COLUMN post_logout_redirect_uris;
ALTER TABLE hydra_client DROP COLUMN backchannel_logout_uri;
ALTER TABLE hydra_client DROP COLUMN backchannel_logout_se... |
SQL | hydra/persistence/sql/migrations/20190100000013000000_client.mysql.up.sql | ALTER TABLE hydra_client ADD frontchannel_logout_uri TEXT NULL;
ALTER TABLE hydra_client ADD frontchannel_logout_session_required BOOL NOT NULL DEFAULT FALSE;
ALTER TABLE hydra_client ADD post_logout_redirect_uris TEXT NULL;
ALTER TABLE hydra_client ADD backchannel_logout_uri TEXT NULL;
ALTER TABLE hydra_client ADD ba... |
SQL | hydra/persistence/sql/migrations/20190100000013000000_client.postgres.down.sql | ALTER TABLE hydra_client DROP COLUMN frontchannel_logout_uri;
ALTER TABLE hydra_client DROP COLUMN frontchannel_logout_session_required;
ALTER TABLE hydra_client DROP COLUMN post_logout_redirect_uris;
ALTER TABLE hydra_client DROP COLUMN backchannel_logout_uri;
ALTER TABLE hydra_client DROP COLUMN backchannel_logout_se... |
SQL | hydra/persistence/sql/migrations/20190100000013000000_client.postgres.up.sql | ALTER TABLE hydra_client ADD frontchannel_logout_uri TEXT NOT NULL DEFAULT '';
ALTER TABLE hydra_client ADD frontchannel_logout_session_required BOOL NOT NULL DEFAULT FALSE;
ALTER TABLE hydra_client ADD post_logout_redirect_uris TEXT NOT NULL DEFAULT '';
ALTER TABLE hydra_client ADD backchannel_logout_uri TEXT NOT NUL... |
SQL | hydra/persistence/sql/migrations/20190100000014000000_client.mysql.up.sql | ALTER TABLE hydra_client ADD metadata TEXT NULL;
UPDATE hydra_client SET metadata='{}';
ALTER TABLE hydra_client MODIFY metadata TEXT NOT NULL; |
SQL | hydra/persistence/sql/migrations/20190100000014000000_client.postgres.up.sql | ALTER TABLE hydra_client ADD metadata TEXT NULL;
UPDATE hydra_client SET metadata='{}';
ALTER TABLE hydra_client ALTER COLUMN metadata SET NOT NULL; |
SQL | hydra/persistence/sql/migrations/20190200000001000000_jwk.up.sql | CREATE TABLE IF NOT EXISTS hydra_jwk (
sid varchar(255) NOT NULL,
kid varchar(255) NOT NULL,
version int NOT NULL DEFAULT 0,
keydata text NOT NULL,
PRIMARY KEY (sid, kid)
); |
SQL | hydra/persistence/sql/migrations/20190200000004000000_jwk.cockroach.up.sql | CREATE TABLE IF NOT EXISTS hydra_jwk (
sid varchar(255) NOT NULL,
kid varchar(255) NOT NULL,
version int NOT NULL DEFAULT 0,
keydata text NOT NULL,
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
pk SERIAL,
UNIQUE INDEX (sid, kid),
CONSTRAINT "primary" PRIMARY KEY (pk ASC)
); |
SQL | hydra/persistence/sql/migrations/20190200000004000000_jwk.mysql.down.sql | ALTER TABLE hydra_jwk DROP COLUMN pk;
ALTER TABLE hydra_jwk DROP INDEX hydra_jwk_idx_id_uq;
ALTER TABLE hydra_jwk ADD PRIMARY KEY (sid, kid); |
SQL | hydra/persistence/sql/migrations/20190200000004000000_jwk.mysql.up.sql | ALTER TABLE hydra_jwk DROP PRIMARY KEY;
CREATE UNIQUE INDEX hydra_jwk_idx_id_uq ON hydra_jwk (sid, kid);
ALTER TABLE hydra_jwk ADD pk INT UNSIGNED AUTO_INCREMENT PRIMARY KEY; |
SQL | hydra/persistence/sql/migrations/20190200000004000000_jwk.postgres.down.sql | ALTER TABLE hydra_jwk DROP CONSTRAINT hydra_jwk_pkey;
ALTER TABLE hydra_jwk DROP COLUMN pk;
DROP INDEX hydra_jwk_idx_id_uq;
ALTER TABLE hydra_jwk ADD PRIMARY KEY (sid, kid); |
SQL | hydra/persistence/sql/migrations/20190200000004000000_jwk.postgres.up.sql | ALTER TABLE hydra_jwk DROP CONSTRAINT hydra_jwk_pkey;
ALTER TABLE hydra_jwk ADD pk SERIAL;
ALTER TABLE hydra_jwk ADD PRIMARY KEY (pk);
CREATE UNIQUE INDEX hydra_jwk_idx_id_uq ON hydra_jwk (sid, kid); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.