Skip to content
Snippets Groups Projects
Commit 0a867777 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

Move secret out of Gapi.kt

parent ecdad965
Branches
No related tags found
No related merge requests found
......@@ -6,8 +6,8 @@ import kotlin.coroutines.resumeWithException
import kotlin.coroutines.suspendCoroutine
object authObj: client.AuthType {
override var apiKey: String? = "AIzaSyAllJ7f4_uUKUUhbYg6U6edtJHah94HJow"
override var clientId: String? = "418498906920-jom9gd0his9sr91843qeqekf90h1hocj.apps.googleusercontent.com"
override var apiKey: String? = ApiKey
override var clientId: String? = ClientId
override var scope: String? = "https://www.googleapis.com/auth/spreadsheets.readonly"
override var discoveryDocs: Array<String>? = arrayOf("https://sheets.googleapis.com/\$discovery/rest?version=v4")
}
......
package gapi
// Not real, use your own
const val ApiKey = "AIzaSyAllJ7f4_uUKUUhbYg6U6edtJHah94HJow"
const val ClientId = "418498906920-jom9gd0his9sr91843qeqekf90h1hocj.apps.googleusercontent.com"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment