Class OidcTokens
java.lang.Object
dev.relism.flash.ext.security.test.OidcTokens
Real tokens from a real provider — Keycloak in Testcontainers, typically.
-
Method Summary
-
Method Details
-
passwordGrant
public static Consumer<dev.relism.flash.testing.FlashRequest> passwordGrant(String issuer, String clientId, String clientSecret, String username, String password) Sends the request with an access token obtained by the resource owner password grant. The client must allow direct access grants — a test realm's setting, never a production one.
-