Questions tagged [restful-authentication]

Questions about authentication for RESTful services.

Services designed using REpresentational State Transfer architecture must often authenticate clients. How best to do this can be a complex topic, as in true REST each client request to the server will contain all the information necessary to complete it (including authentication).

Resources

1447 questions
0
votes
1 answer

cakephp rest api and authentication

i am developing with cakephp 2.4.7 and i am very confused and i don't know what's the best way to implement what i need. My cake project is similar to a social network and i already have programmed a big part of the web part. Now i want to start…
q0re
  • 1,401
  • 19
  • 32
0
votes
1 answer

Import private data into Google Spreadsheet

I am importing private data into Google Spreadsheet using the function ImportXML. To make this work, I have written an API. However, since the data in private I would like to make the API private. I can do that. The problem is to do it in a way so…
rlp
  • 513
  • 2
  • 7
  • 16
0
votes
1 answer

Can a webservice written in Symfony2 regognize if the user who is calling the webservice is logged in?

I have a B2C application coded in Symfony2. Users arrives on my homepage and then signup. Once signup, my application authenticate this user, using the Authentication of Symfony 2. The authentication is persistent, so after the signup the user will…
user3255068
  • 53
  • 1
  • 6
0
votes
1 answer

How can i use Restful in angularjs.I used ngResource but its not working .The js file nt executing if i used ngResource

var app = angular.module('app', ['ngResource']); app.factory('UserFactory', function ($resource) { return $resource('/com/vsoft/rest/users', {}, { query: { method: 'GET', params: {}, isArray:…
0
votes
1 answer

Method not found error after updating Rails

it's about Ruby On Rails and it's Restful Authentication plugin. I updated Rails. I restarted my WebApp. The method "store_location" of Restful Authentication cannot be found. in the file lib/restful_authentication.rb can the method be found,…
Joern Akkermann
  • 3,542
  • 8
  • 33
  • 41
0
votes
1 answer

Need to authenticate before a web service call

I am writing rest full web services for android and IOS app in Springs. I need to authenticate device and user before every service call. How can i do this? Is there any single process that can be used in every service? Is there any process of…
Himaja
  • 1
  • 1
  • 1
0
votes
1 answer

Restful URL custom authentication failing in java

This code is for getting the text from some URL which is having custom authentication as specified below.Tried with even ajax and Jquery as dataType:"jsonp" but it is also showing 401 error. URL u; HttpURLConnection con; InputStream is =…
user8530
  • 3
  • 1
0
votes
0 answers

What all authentication are supported by OData?

As per my knowledge, OData currently supports Basic Authentication.Is there any other authentication supported by it? Any plan for Kerberos authentication support in future?
prerna30
  • 131
  • 1
  • 2
  • 15
0
votes
2 answers

RESTful best practice for authentication

and thank all of you for viewing this question. I am not sure to on how do this so i am asking for the community help on this matter. I read int his post Can you help me understand this? "Common REST Mistakes: Sessions are irrelevant" that sessions…
0
votes
0 answers

PHP RESTful Unsupported media type error

I think it's giving a better performance than it was before. The new development is that though it has not been inserting but at least it issues an understandable error of "Unsupported Media Type" and not displaying code as it was earlier. What…
ken4ward
  • 2,246
  • 5
  • 49
  • 89
0
votes
1 answer

Unable to configure endpoints

I am working on a project where one team created wcf service and we MVC team has to consume that service and passing parameters to that service. On going with different ways of calling the service we are unable to call that service because of the…
Chakri
  • 770
  • 2
  • 7
  • 24
0
votes
3 answers

Can anyone help for getting response by entering username and password?

I'm new in android development. So plz help to add http in this code to get response when i click on submit button. I've done all validations of username and password. But i don't know how can I use JSON RESTFUL in this code. So plz help me to solve…
Anshul Tyagi
  • 2,076
  • 4
  • 34
  • 65
0
votes
1 answer

How do you setup mixed authorizations for different authentications in .net (web api 2 + owin)

I am fairly new to .net and I am trying to create a restfull service where you can authenticate via OAuth2 to a service like facebook and also be able to login with a "normal account". The SPA template from VS2013 allowed me to do this quickly and…
0
votes
1 answer

Yii User Authentication via RESTful with JSON format

I want to be able to authenticate a user in Yii against a user table in a database on email and password. I can do this in Yii, but now i want to be able to authenticate the same user via RESTful with JSON format. Below is my Yii code for…
The Georgia
  • 1,005
  • 7
  • 23
  • 59
0
votes
1 answer

WebClient not sending Authorization Header to Web Service in Windows Phone

Here is a situation with WebClient on Windows Phone. I was able to pull & push data to web services hosted with asp.net Web Api. Now I enabled basic authentication on Web services and on Windows Phone code added up Header to WebClient. I notice that…