github.com/jxgolibs/go-oauth2-server@v1.0.1/oauth/fixtures/test_users.yml (about)

     1  ---
     2  
     3  #-------#
     4  # Users #
     5  #-------#
     6  
     7  - table: 'oauth_users'
     8    pk:
     9      id: "1"
    10    fields:
    11      role_id: 'superuser'
    12      username: 'test@superuser'
    13      password: '$2a$10$4J4t9xuWhOKhfjN0bOKNReS9sL3BVSN9zxIr2.VaWWQfRBWh1dQIS'
    14      created_at: 'ON_INSERT_NOW()'
    15      updated_at: 'ON_UPDATE_NOW()'
    16  
    17  - table: 'oauth_users'
    18    pk:
    19      id: "2"
    20    fields:
    21      role_id: 'user'
    22      username: 'test@user'
    23      password: '$2a$10$4J4t9xuWhOKhfjN0bOKNReS9sL3BVSN9zxIr2.VaWWQfRBWh1dQIS'
    24      created_at: 'ON_INSERT_NOW()'
    25      updated_at: 'ON_UPDATE_NOW()'
    26  
    27  - table: 'oauth_users'
    28    pk:
    29      id: "3"
    30    fields:
    31      role_id: 'user'
    32      username: 'test@user2'
    33      password: '$2a$10$4J4t9xuWhOKhfjN0bOKNReS9sL3BVSN9zxIr2.VaWWQfRBWh1dQIS'
    34      created_at: 'ON_INSERT_NOW()'
    35      updated_at: 'ON_UPDATE_NOW()'