Current section
Files
Jump to
Current section
Files
lib/elixir_google_drive_api/oauth.ex
defmodule ElixirGoogleDriveApi.Oauth do
@auth_scope "https://www.googleapis.com/auth/drive"
def token do
{:ok, %{token: token}} = Goth.Token.for_scope(@auth_scope)
token
end
end