replace sample auth file

This commit is contained in:
Morgan McMillian 2019-05-18 16:28:05 -07:00
parent 4f8768966c
commit 6d79b9b600
3 changed files with 7 additions and 12 deletions

1
.gitignore vendored
View file

@ -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/

View file

@ -0,0 +1,6 @@
export const pnutauth = {
url: "https://api.pnut.io/v0/oauth/access_token",
scope: "basic,stream,write_post,files",
clientId: "",
clientSecret: ""
}

View file

@ -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
};
}