
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
ionic-coreo
Advanced tools
Ionic2 module for integrating with Coreo
npm install ionic-coreo --save
Update your Ionic app.module.ts:
import { CoreoModule } from 'ionic-coreo';
...
@NgModule({
imports: [CoreoModule]
...
})
export class AppModule {}
Currently not working!
import { CoreoModule, CoreoConfig } from 'ionic-coreo';
...
const coreoConfig = new CoreoConfig({
baseUrl: 'https://coreo-dev.herokuapp.com'
});
@NgModule({
imports: [
CoreoModule.forRoot(coreoConfig)
]
...
})
export class AppModule {}
The following services are provided as @Injectable()s
A thin wrapper around Ionic Native's GooglePlus and Facebook authentication. Ensure you have installed the relevant plugins and followed the configuration steps in the following documentation:
NOTE You must configure your OAuth credentials within Coreo. Go to Surveys > Your Survey > Credentials and add the relevant data.
import { CoreoAuth, CoreoAuthResult } from 'ionic-coreo';
@Component({
...
})
export class MyLoginComponent {
constructor(
private auth: CoreoAuth
) {}
login(): Promise<CoreoAuthResult> {
return this.auth.login('basic', { email: 'bob@mail.com', password: 'bob});
// OR
// const surveyId = 12;
// return this.auth.login('google', surveyId);
}
}
login(method: 'basic' | 'google' | 'facebook', params: CoreoAuthLoginOptions)logout(): void{email, password} object, else it is the surveyId you are logging in to.isLoggedIn: boolean - Flag indicating whether the user is logged in or not.id: number - User IDemail: string - Emailrole: string - RoledisplayName: string - Display NameimageUrl: string - Users' profile image URLAn HTTP client for sending queries and posting data to Coreo. Handles all authentication (if the user is logged in)
import { CoreoClient } from 'ionic-coreo';
@Injectable()
export class MyDataService {
constructor(
private client: CoreoClient
) {}
getData(): Observable<any> {
return this.client.request('/records?q=surveyId:12');
}
}
method: string - HTTP method. Defaults to 'get'headers?: any - An Object of HTTP headersbody?: string | FormData | nullauthentication?: CoreoAuthToken | false - If false, then no authentication header is set (even if the user is logged in).
If set to a CoreoAuthToken, this token will be used again regardless of the user's logged in token. If authentication is not supplied
then the user's logged in token will be used, if logged in.FAQs
Ionic2 module for integration with Coreo
We found that ionic-coreo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.