dex/db/migrations
Bobby Rullo 32a1994a5e refresh tokens: store and validate scopes.
A refresh request must fail if it asks for scopes that were not
originally granted when the refresh token was obtained.

This Commit:

* changes repo to store scopes with tokens
* changes repo interface signatures so that scopes can be stored and
  verified
* updates dependent code to pass along scopes
2016-06-14 14:14:36 -07:00
..
0001_initial_migration.sql db: add DB migration code and scripts. 2015-08-20 11:44:43 -07:00
0002_dex_admin.sql db: initialize bigint, boolean columns 2015-08-20 12:38:15 -07:00
0003_user_created_at.sql db: initialize bigint, boolean columns 2015-08-20 12:38:15 -07:00
0004_session_nonce.sql db: add DB migration code and scripts. 2015-08-20 11:44:43 -07:00
0005_refresh_token_create.sql refresh: bcrypt raw bytes rather than base64 encoded string. 2015-09-02 14:23:20 -07:00
0006_user_email_unique.sql db: add DB migration code and scripts. 2015-08-20 11:44:43 -07:00
0007_session_scope.sql session: add 'scope' field in session. 2015-08-31 13:51:59 -07:00
0008_users_active_or_inactive.sql server,db: flag for disabling user login 2015-09-25 14:25:06 -07:00
0009_key_not_primary_key.sql db, functional: make value column in key not pkey 2015-12-28 16:02:16 -08:00
0010_client_metadata_field_changed.sql *: add migration to update JSON fields and require postgres 9.4+ 2016-01-12 17:19:07 -08:00
0011_case_insensitive_emails.sql db: add better comment about migration 2016-03-02 14:47:00 -08:00
0012_add_cross_client_authorizers.sql db, client: add data model for trusted peers 2016-06-07 17:16:09 -07:00
0013_add_scopes_to_refresh_tokens.sql refresh tokens: store and validate scopes. 2016-06-14 14:14:36 -07:00
assets.go refresh tokens: store and validate scopes. 2016-06-14 14:14:36 -07:00
gen_assets.go db: switch migration source to use in-memory migration 2016-03-01 10:55:05 -08:00
migrations.go db: switch migration source to use in-memory migration 2016-03-01 10:55:05 -08:00