diff --git a/.gitignore b/.gitignore index 044e51a..5c36f0a 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ UserInterfaceState.xcuserstate # other bits pnut-oauth.ts +src/pages/login/pnutauth.ts platforms/android/.gradle/ platforms/android/CordovaLib/build/ platforms/android/app/build/ diff --git a/src/pages/login/pnutauth.ts.sample b/src/pages/login/pnutauth.ts.sample new file mode 100644 index 0000000..50d2b3e --- /dev/null +++ b/src/pages/login/pnutauth.ts.sample @@ -0,0 +1,6 @@ +export const pnutauth = { + url: "https://api.pnut.io/v0/oauth/access_token", + scope: "basic,stream,write_post,files", + clientId: "", + clientSecret: "" +} \ No newline at end of file diff --git a/src/providers/pnut-oauth.ts.sample b/src/providers/pnut-oauth.ts.sample deleted file mode 100644 index d8e3e4b..0000000 --- a/src/providers/pnut-oauth.ts.sample +++ /dev/null @@ -1,12 +0,0 @@ -import { OAuthProvider } from 'ng2-cordova-oauth/provider'; - -export class PnutAuth extends OAuthProvider { - - protected authUrl: string = 'https://pnut.io/oauth/authenticate'; - protected defaults: Object = { - responseType: 'token', - clientId: '' // Insert your client ID and rename this file to pnut-oauth.ts - }; - -} -