Skip to content

refactor: improve refresh signature #445

refactor: improve refresh signature

refactor: improve refresh signature #445

Triggered via push November 29, 2024 08:39
Status Failure
Total duration 50s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: handler/oauth2/flow_authorize_code_auth_test.go#L32
cannot use store (variable of type *storage.MemoryStore) as CoreStorage value in struct literal: *storage.MemoryStore does not implement CoreStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_authorize_code_auth_test.go#L126
cannot use store (variable of type *storage.MemoryStore) as CoreStorage value in struct literal: *storage.MemoryStore does not implement CoreStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_authorize_code_token_test.go#L213
cannot use store (variable of type *storage.MemoryStore) as CoreStorage value in struct literal: *storage.MemoryStore does not implement CoreStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_authorize_code_token_test.go#L250
cannot use store (variable of type *storage.MemoryStore) as CoreStorage value in struct literal: *storage.MemoryStore does not implement CoreStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_authorize_code_token_test.go#L252
cannot use store (variable of type *storage.MemoryStore) as TokenRevocationStorage value in struct literal: *storage.MemoryStore does not implement TokenRevocationStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_authorize_code_token_test.go#L658
cannot use mockCoreStore (variable of type *"github.com/ory/fosite/internal".MockCoreStorage) as CoreStorage value in struct literal: *"github.com/ory/fosite/internal".MockCoreStorage does not implement CoreStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_refresh_test.go#L326
cannot use store (variable of type *storage.MemoryStore) as TokenRevocationStorage value in struct literal: *storage.MemoryStore does not implement TokenRevocationStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_refresh_test.go#L420
cannot use mockRevocationStore (variable of type *"github.com/ory/fosite/internal".MockTokenRevocationStorage) as TokenRevocationStorage value in struct literal: *"github.com/ory/fosite/internal".MockTokenRevocationStorage does not implement TokenRevocationStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_refresh_test.go#L497
cannot use store (variable of type *storage.MemoryStore) as TokenRevocationStorage value in struct literal: *storage.MemoryStore does not implement TokenRevocationStorage (missing method RotateRefreshToken)
test: handler/oauth2/flow_refresh_test.go#L1072
cannot use mockRevocationStore (variable of type *"github.com/ory/fosite/internal".MockTokenRevocationStorage) as TokenRevocationStorage value in struct literal: *"github.com/ory/fosite/internal".MockTokenRevocationStorage does not implement TokenRevocationStorage (missing method RotateRefreshToken)