protected OAuthFetcherConfig() { byte[] masterKey = Crypto.getRandomBytes(BasicBlobCrypter.MASTER_KEY_MIN_LEN); this.stateCrypter = new BasicBlobCrypter(masterKey); this.tokenStore = new GadgetOAuthTokenStore(BasicOAuthStore.Instance, DefaultGadgetSpecFactory.Instance); }