(ctx context.Context, arg CreateOidcUserInfoParams)
| 141 | } |
| 142 | |
| 143 | func (q *Queries) CreateOidcUserInfo(ctx context.Context, arg CreateOidcUserInfoParams) (OidcUserinfo, error) { |
| 144 | row := q.db.QueryRowContext(ctx, createOidcUserInfo, |
| 145 | arg.Sub, |
| 146 | arg.Name, |
| 147 | arg.PreferredUsername, |
| 148 | arg.Email, |
| 149 | arg.Groups, |
| 150 | arg.UpdatedAt, |
| 151 | ) |
| 152 | var i OidcUserinfo |
| 153 | err := row.Scan( |
| 154 | &i.Sub, |
| 155 | &i.Name, |
| 156 | &i.PreferredUsername, |
| 157 | &i.Email, |
| 158 | &i.Groups, |
| 159 | &i.UpdatedAt, |
| 160 | ) |
| 161 | return i, err |
| 162 | } |
| 163 | |
| 164 | const deleteExpiredOidcCodes = `-- name: DeleteExpiredOidcCodes :many |
| 165 | DELETE FROM "oidc_codes" |
no test coverage detected