Discuss this help topic in SecureBlackbox Forum

TElOAuth2Client class

Properties     Methods     Declared in     Licensing     


Description

TElOAuth2Client provides functionality of an OAuth 2.0 client: it creates protected resource requests on behalf of the resource owner and with its authorization. This component does not provide transport capabilities, it only creates and processes HTTP requests. Use TElOAuth2Client in conjunction with, for instance, TElHTTPSClient component.

Note, that the OAuth 2.0 protocol (RFC 6749) shares very few implementation details with the OAuth 1.0 protocol (RFC5849). The essential phases of the protocol flow can be described as follows:

  • The client requests authorization (preferrably via an intermediate authorization server) from the resource owner. Use Start method to create the authorization request.
  • When the client receives an authorization grant, it requests an access token by authenticating with the authorization server.
  • When the access token is received, the client can use it to request protected resources from the resource server.
When a response is received from the authorization server, call Process method to analyse and utilize it.

Properties

Methods

Declared in

.NET:
  • Namespace: SBOAuth2
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBOAuth2
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sboauth2.h

Licensing

To use this class in the development and distribution of your software projects, you need to purchase one of the following licenses:

OfficeBlackbox OR SecureBlackbox Data Security OR SecureBlackbox Professional

Discuss this help topic in SecureBlackbox Forum