Add access token authentication via HTTP AUTHORIZATION bearer header
This commit is contained in:
committed by
Stanko K.R.
parent
ea697b7143
commit
a81c681a8d
@@ -0,0 +1,14 @@
|
||||
class CreateIdentityAccessTokens < ActiveRecord::Migration[8.2]
|
||||
def change
|
||||
create_table :identity_access_tokens, id: :uuid do |t|
|
||||
t.uuid :identity_id, null: false
|
||||
t.string :token
|
||||
t.string :permission
|
||||
t.text :description
|
||||
|
||||
t.timestamps
|
||||
|
||||
t.index ["identity_id"], name: "index_access_token_on_identity_id"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user