Questions tagged as 'token'

1
answer

How to get request Header passing the Authorization Bearer using DataSnap

I'm using Delphi XE7 , I have a WebService REST done from the DataSnap REST project, I need to get the bearer-token passed via Header by the client, but DataSnap REST by default it executes as Basic...
asked by 29.11.2016 / 20:59
2
answers

Modifying value of my IsAuthenticated in AngularJS

When the token is different from null, my IsAuthenticated must be positive, app.controller("HomeCtrl", function ($scope, $location) { let token = localStorage.getItem("token"); $scope.user = JSON.parse(token); if (token === null)...
asked by 14.03.2017 / 18:33
1
answer

Web API - Token

An MVC application makes access to the WEB API services. To access the WEB API, a token is mandatory. In the WEB API application there is a button that generates the token. How to make the WEB API accept only the token generated throug...
asked by 21.03.2016 / 21:53
1
answer

What are the "User" and "CancellationToken" parameters used for?

I'm doing an implementation with API of Google Drive, and in the code block: credenciais = GoogleWebAuthorizationBroker.AuthorizeAsync( GoogleClientSecrets.Load(stream).Secrets, new[] { DriveServ...
asked by 22.12.2017 / 14:34
1
answer

Parser identifying tokens in the wrong way (Flex and Bison)

I am implementing a compiler based on the Tiger language proposed by Andrew Appel's book "Modern Compiler Implementation in C". Link: link I'm using the available files on the book's website, but when I run the parser, the tokens reported i...
asked by 17.02.2016 / 21:05
1
answer

Send data via post

I have the following method namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; use App\Pessoa; class PessoaController extends Controller { public function lista( Request $request ){...
asked by 08.04.2018 / 00:43
1
answer

Receiving Token via WebRequest?

Personal is there any way I can generate a token through a WebRequest? Because every time I use the Google Drive function, I need to open the authentication page only to generate the access Token, is there any way I can do it through WebRequest?...
asked by 05.04.2017 / 16:34
1
answer

Token Provider Asp.Net WebAPI

In the company I work with we do authentication and authorization via Bearer Token in an asp.net webapi app, however I keep some information about user permissions with Claims ... and this makes the Token look huge. I found a way to generate...
asked by 21.02.2017 / 14:04
2
answers

How do asymmetric signatures work in JSON Webtokens (JWT)?

Recently I started to study the possibility of starting to use JSON Webtokens in my projects, given its advantages. From what I understand, there is a symmetric and an asymmetric way of generating the signature for the tokens. The symmetric seem...
asked by 20.12.2015 / 01:52
2
answers

How to use token authentication with WebApi .Net

I'm looking at some websites about token-based authentication using the OAuth library but a question has come up. I have a webapi that already exposes services for both an App and a Site. We already have a login system with SQL database runni...
asked by 05.06.2018 / 15:32