Skip to main content

Token Verification and Authorisation

POST 

/service/data-space/:organisationId/validate-access

The Token Verification and Authorisation endpoint for an organisation in regards to a Data Marketplace. An Access Token issued as a result of a Pull-Data request can be verified here, and an authorisation decision can be made against the requested resource (defined by OpenAPI method and path). The resource is checked against the OpenAPI specification of the underlying Data Agreement within the Data Disclosure Agreement Record's Template connected to the Access Token.

Request

Path Parameters

    organisationId stringrequired

    The ID of the organisation

Body

    accessToken stringrequired

    The JWT Access Token to be verified and authorised

    httpMethod stringrequired

    The HTTP Method to be checked against the OpenAPI specification

    path stringrequired

    The path to be checked against the OpenAPI specification

Responses

Access token verification result

Schema
    oneOf
    verified booleanrequired

    Whether the access token was verified and authorised

    dataClassification stringrequired

    Possible values: [anonymous, pii]

    The data classification of the requested resource

    individuals object[]required
    decodedClaims objectrequired

    The decoded JWT claims. The fields listed below will be present; additional claims are allowed.

    aud stringrequired

    The audience of the JWT

    dataClassification stringrequired

    Possible values: [anonymous, pii]

    The data classification of the requested resource

    dataDisclosureAgreementRecordId stringrequired

    The ID of the Data Disclosure Agreement Record associated with this token

    exp integerrequired

    The expiration time of the JWT

    iat integerrequired

    The issued at time of the JWT

    iss stringrequired

    The issuer of the JWT

    jti stringrequired

    The unique identifier for the JWT

    property name* any

    The decoded JWT claims. The fields listed below will be present; additional claims are allowed.

Loading...