Commit Graph
2 Commits
Author SHA1 Message Date
Tiago SilvaandAlan Parra e05dd7f379 [sec_scan][17] add AssertDevice to FakeDeviceService (#44159)
* [sec_scan][17] add `AssertDevice` to `FakeDeviceService`

This PR introduces a `AssertDevice` logic into `FakeDeviceService` to authenticate devices during unit tests using device trust credentials.

This PR is part of https://github.com/gravitational/access-graph/issues/637.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* simplify assert tests

* Update lib/devicetrust/assert/assert_test.go

Co-authored-by: Alan Parra <alan.parra@goteleport.com>

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
2024-07-15 09:11:09 +00:00
Alan Parra a545068e65 Add a client-side API to assert devices (#43890)
* Add a client-side API to assert devices

* Add a godoc to authnStreamAdapter
2024-07-10 16:26:53 +00:00