@Test public void testValidation() { StepVerifier.create(CLIENT.getCredentialManager().valid(credential)) .expectSubscription() .expectNextMatches(validate -> validate.getUserId() == 120074641L && Objects.equals(validate.getLogin(), "sandalphon_ai") && validate.getScopes().contains(GlitchScope.CHAT_READ) ).expectComplete() .verify(); }
public CredentialManager getCredentialManager() { return credentialManager; }
GlitchClient { public CredentialManager getCredentialManager() { return credentialManager; } }
GlitchClient { public CredentialManager getCredentialManager() { return credentialManager; } private  GlitchClient(OkHttpClient httpClient, Config config, Storage storage); }
GlitchClient { public CredentialManager getCredentialManager() { return credentialManager; } private  GlitchClient(OkHttpClient httpClient, Config config, Storage storage); static Builder builder(); Config getConfiguration(); CredentialManager getCredentialManager(); OkHttpClient getHttpClient(); }
GlitchClient { public CredentialManager getCredentialManager() { return credentialManager; } private  GlitchClient(OkHttpClient httpClient, Config config, Storage storage); static Builder builder(); Config getConfiguration(); CredentialManager getCredentialManager(); OkHttpClient getHttpClient();  }