blob: 9144b7249c68418a7033858ddbe2ad9d7076f5b9 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.auth;
// AuthProviderFactory creates an Auth Provider that talks to a particular
// backend OAuth service such as Google, Facebook, or Twitter that can generate
// tokens as defined by |auth_provider.fidl|.
[Discoverable]
interface AuthProviderFactory {
// Creates an auth provider instance for the given OAuth provider.
1: GetAuthProvider(request<AuthProvider> auth_provider) ->
(AuthProviderStatus status);
};