Questions tagged [simple-web-token]

6 questions
2
votes
0 answers

Authentication between REST and SOAP WebServices

We have a REST Web Service, it acts as a gateway for our SOAP Web Service. I realize that I could add one more endpoint to the existing web service, but I can't due to requirements. Now I am dealing with the authentication process. So, I would like…
Vlad DE
  • 51
  • 3
0
votes
1 answer

Is my method safe?

I am creating for our web application a tokensystem. What do you guys think, if is this isWebTokenAvailable() Method safe? /** * Checked if webToken is available {@link de.security.WebToken}. * * @param webToken to check if webToken…
user6941415
0
votes
2 answers

Playback video encrypted by Azure Media Service with the token

I follow the step in the Azure Doc(Using AES-128 Dynamic Encryption and Key Delivery Service) and published a video by using the .NET SDK. However, I don't know how to use the token generated to play the encrypted content. In the other word, I don't…
0
votes
1 answer

The token provider was unable to provide a security token . Token provider returned message: ACS50009: SWT token is invalid

I am having trouble with getting SWT Token validated with following code and throws error on line 3 Line 1: var managementUri = ServiceBusEnvironment.CreateServiceUri("https", , string.Empty); Line 2: var tokenProvider =…
0
votes
1 answer

Using WebAPI can I switch a SAML token to SWT?

I am working on an API using ASP.NET WebAPI. Authentication is done by a 3rd party, and we are sent a SAML token that we authenticate (we are provided the certs to check). However, I don't want to keep validating against the SAML token as it's…
Simon C
  • 9,458
  • 3
  • 36
  • 55
0
votes
1 answer

Generate SWT token, and sign it, from IClaimsPrincipal

I would like to create a SWT token based on the claims in: IClaimsPrincipal principal = (IClaimsPrincipal)User; IClaimsIdentity identity = (IClaimsIdentity)principal.Identity; I have found code for validating a swt token, but haven't been able to…
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283