use of com.nexblocks.authguard.jwt.OpenIdConnectTokenProvider in project AuthGuard by AuthGuard.
the class AuthorizationCodeToOidcTest method setup.
@BeforeEach
void setup() {
authorizationCodeVerifier = Mockito.mock(AuthorizationCodeVerifier.class);
accountsService = Mockito.mock(AccountsService.class);
openIdConnectTokenProvider = Mockito.mock(OpenIdConnectTokenProvider.class);
serviceMapper = new ServiceMapperImpl();
authorizationCodeToOidc = new AuthorizationCodeToOidc(new AccountsServiceAdapter(accountsService), authorizationCodeVerifier, openIdConnectTokenProvider, serviceMapper);
}
use of com.nexblocks.authguard.jwt.OpenIdConnectTokenProvider in project AuthGuard by AuthGuard.
the class BasicToOIdCTest method setup.
@BeforeEach
void setup() {
basicAuth = Mockito.mock(BasicAuthProvider.class);
accessTokenProvider = Mockito.mock(AccessTokenProvider.class);
idTokenProvider = Mockito.mock(IdTokenProvider.class);
openIdConnectTokenProvider = new OpenIdConnectTokenProvider(accessTokenProvider, idTokenProvider);
basicToOIdC = new BasicToOIdC(basicAuth, openIdConnectTokenProvider);
}
Aggregations