任何获取GoogleCredential Access令牌的Flutter软件包

时间:2018-12-20 05:38:34

标签: dart flutter flutter-packages dart-packages

在Flutter(Dart)中,有任何软件包可以获取GoogleCredential Accesstoken(以下示例用于获取Java中的访问令牌)

   Pipeline pipeline = Pipeline.create(options);

    /*
     * Steps:
     *  1) Read from the text source.
     *  2) Write each text record to Pub/Sub
     */
    pipeline
        .apply("Read Text Data", TextIO.read().from(options.getInputFilePattern()))
        .apply("Write to PubSub", PubsubIO.writeStrings().to(options.getOutputTopic()));


    State p= pipeline.run().waitUntilFinish();

我需要它来修改Firebase远程配置。

1 个答案:

答案 0 :(得分:0)

如果您要通过Google搜索身份提供者,这可能会对您有所帮助 https://pub.dartlang.org/packages/google_sign_in