Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kemence
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Disappointment industries™
Kemence
Commits
0a867777
Commit
0a867777
authored
Jun 10, 2022
by
Tóth Miklós Tibor
Browse files
Options
Downloads
Patches
Plain Diff
Move secret out of Gapi.kt
parent
ecdad965
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/jsMain/kotlin/gapi/Gapi.kt
+2
-2
2 additions, 2 deletions
src/jsMain/kotlin/gapi/Gapi.kt
src/jsMain/kotlin/gapi/GapiSecrets.kt
+5
-0
5 additions, 0 deletions
src/jsMain/kotlin/gapi/GapiSecrets.kt
with
7 additions
and
2 deletions
src/jsMain/kotlin/gapi/Gapi.kt
+
2
−
2
View file @
0a867777
...
...
@@ -6,8 +6,8 @@ import kotlin.coroutines.resumeWithException
import
kotlin.coroutines.suspendCoroutine
object
auth
Obj
:
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"
)
}
...
...
This diff is collapsed.
Click to expand it.
src/jsMain/kotlin/gapi/GapiSecrets.kt
0 → 100644
+
5
−
0
View file @
0a867777
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment