# US 2019/0318114 A1 · System for reliably accessing a protected resource

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0318114 A1
- Document ID: US20190318114A1
- Status: Published application
- Kind: A1
- Application number: 16/382,123
- Filed: 2019-04-11
- Published: 2019-10-17
- Earliest claimed: 2018-04-11
- Assignees: Barclays Services Limited
- Applicants: Barclays Services Limited
- Inventors: Dickon Holt; Michael Forrest
- Web page: https://patentgrep.com/patent/US20190318114A1

## CPC

- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06Q 20/40: Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06F 21/45: Structures or tools for the administration of authentication
- H04L 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 63/105: {Multiple levels of security}
- H04L 63/108: {when the policy decisions are valid for a limited amount of time}
- G06F 21/1014: {to tokens}
- G06F 2221/2129: Authenticate client device independently of the user
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A client system obtains an access token for accessing a protected resource stored at a resource system. A storage resource of the system stores a plurality of grant method code portions, a plurality of authentication method code portions and a configurable database. The client system comprises processing circuitry configured to receive an access request from a user device. The access request comprises an instruction for the client system to access a protected resource and a request identifier indicative of an authorization system for authorizing access to the protected resource. The client system uses the configurable database and code portions to execute the grant and authentication methods supported by the authorization system. The client system receives the access token from the authorization sever, in response to executing the grant and authentication methods.

## Claims

### Claim 1

A computer-implemented method for obtaining an access token for providing access to a protected resource stored at a resource system, the method comprising:
storing, at a client system:
a plurality of grant method code portions each executable to obtain access to the access token using one of a plurality of types of grant method, wherein each respective type of grant method is different to the other types of grant method; and
a plurality of authentication method code portions each executable to authenticate the client system using a different authentication method, wherein each respective type of authentication method is different to the other types of authentication method;
storing, at the client system, a configurable database comprising a plurality of authorisation system identifiers each indicative of a respective authorisation system, wherein each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of grant method which are supported by the respective authorisation system, and each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of authentication method which are supported by the respective authorisation system;
receiving, at the client system, from a user device an access request comprising an instruction for the client system to access a protected resource, the instruction comprising a request identifier indicative of an authorisation system for authorising access to the protected resource;
identifying, in the configurable database, a selected grant method type from one or more of the grant method types associated with an authorisation system identifier corresponding to the request identifier;
identifying, in the configurable database, a selected authentication method type, from one or more of the authentication method types associated with the authorisation system identifier corresponding to the request identifier;
executing, at the client system, the grant method code portion corresponding to the selected grant method type to request the access token for accessing the protected resource;
executing, at the client system, the authentication method code portion corresponding to the selected authentication method type to authenticate the client system at the authorisation system; and
receiving the access token at the client system from the authorisation sever, in response to executing the grant method code portion and the authentication method code portion.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1 further comprising:
modifying, at the client system, the one or more of the plurality of types of grant method in the configurable database associated with at least one of the plurality of authorisation system identifiers stored in the configurable database, thereby forming a modified configurable database;
identifying, at the client system, a selected grant method type, in the modified configurable database, from one or more of the grant method types associated with an authorisation system identifier corresponding to the request identifier; and
executing, at the client system, the grant method code portion corresponding to the selected grant method type to request the access token for accessing the protected resource.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1 further comprising:
modifying, at the client system, the one or more of the plurality of types of authentication method in the configurable database associated with at least one of the plurality of authorisation system identifiers stored in the configurable database, thereby forming a modified configurable database at the client system;
identifying, at the client system, a selected authentication method type, in the modified configurable database, from one or more of the authentication method types associated with an authorisation system identifier corresponding to the request identifier; and
executing, at the client system, the authentication method code portion corresponding to the selected authentication method type to authenticate the client system at the authorisation system.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1 further comprising:
transmitting a database request to a database hosting system from the client system and, in response, receiving at the client system at least a portion of a database; and
updating, the one or more of the plurality of types of grant method and/or the one or more of the plurality of types of authentication method associated with at least one of the plurality of authorisation system identifiers stored in the configurable database using the received database.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4 wherein the database request is transmitted intermittently according to a predetermined schedule and, optionally, wherein the predetermined schedule defines a time interval between consecutive database requests.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1 wherein at least one of the authorisation system identifiers is associated with a plurality of the one or more types of grant method which are supported by the respective authorisation system, and the method further comprises:
identifying in the configurable database, at the client system, the grant method types associated with the authorisation system identifier corresponding to the first identifier;
selecting, at the client system, a grant method type from the identified grant method types; and
executing, at the client system, the grant method code portion corresponding to the selected grant method type.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6 further comprising:
ranking, at the client system, the plurality of types of grant method stored in the configurable database based on the security strength of each grant method type;
wherein the step of selecting comprises selecting, from the identified grant method types, the grant method type which is ranked with the highest security strength relative to the other identified grant method types.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1 wherein at least one of the plurality of authorisation system identifiers is associated with a plurality of the one or more types of authentication method which are supported by the respective authorisation system, and the method further comprises:
identifying in the configurable database, at the client system, the authentication method types associated with the authorisation system identifier corresponding to the first identifier;
selecting, at the client system, an authorisation method type from the plurality of identified authorisation method types; and
executing, at the client system, the authentication method code portion corresponding to the selected authentication method type.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8 further comprising:
ranking, at the client system, the plurality of types of authentication method stored in the configurable database based on the security strength of each respective authentication method type;
wherein step of selecting comprises selecting, from the identified authentication method types, the authentication method type ranked with the highest security strength relative to the other identified authentication method types.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1 wherein the plurality of grant method code portions comprises an authorisation code grant method code portion which when executed causes the client system to:
redirect the first user device to the authorisation system, wherein redirecting the user device to the authorisation system comprises the user device transmitting a request, to the authorisation system, for an authorisation code;
receive an authorisation code from the authorisation system; and
transmit the authorisation code to the authorisation system and, in response, receive the access token.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1 wherein the plurality of grant method code portions comprises a client credentials grant method code portion which when executed causes the client system to:
transmit a shared secret to the authorisation system and, in response, receive the access token, without requesting an authorisation code.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1 wherein the plurality of authentication method code portions comprises a client secret method code portion which when executed causes the client system to:
transmit a shared secret to the authorisation system for authenticating the client system at the authorisation system.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1 wherein the plurality of authentication method code portions comprises a client assertion method code portion which when executed causes the client system to:
transmit an integrity protected identifier of the client system to the authorisation system for authenticating the client system at the authorisation system.

### Claim 14 (depends on 1)

The computer-implemented method of claim 1 further comprising:
transmitting the access token from the client system to the resource system and, in response, receiving the protected resource.

### Claim 15

A client system for obtaining an access token for accessing a protected resource stored at a resource system, the client system comprising:
a storage resource configured to store:
a plurality of grant method code portions each executable to obtain access to the access token using one of a plurality of types of grant method, wherein each respective type of grant method is different to the other types of grant method;
a plurality of authentication method code portions each executable to authenticate the client system using a different authentication method, wherein each respective type of authentication method is different to the other types of authentication method; and
a configurable database comprising a plurality of authorisation system identifiers each indicative of a respective authorisation system, wherein each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of grant method which are supported by the respective authorisation system, and each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of authentication method which are supported by the respective authorisation system;
the client system further comprising processing circuitry configured to:
receive, from a user device, an access request comprising an instruction for the client system to access a protected resource, the instruction comprising a request identifier indicative of an authorisation system for authorising access to the protected resource;
identify a selected grant method type, in the configurable database, from one or more of the grant method types associated with an authorisation system identifier corresponding to the request identifier;
identify a selected authentication method type, in the configurable database, from one or more of the authentication method types associated with the authorisation system identifier corresponding to the request identifier;
execute the grant method code portion corresponding to the selected grant method type to request the access token for accessing the protected resource;
execute the authentication method code portion corresponding to the selected authentication method type to authenticate the client system at the authorisation system; and
receive the access token from the authorisation sever, in response to executing the grant method code portion and the authentication method code portion.

### Claim 16

A client system for obtaining an access token for accessing a protected resource stored at a resource system, the client system comprising:
a storage resource configured to store:
a plurality of grant method code portions each executable to obtain access to the access token using one of a plurality of types of grant method, wherein each respective type of grant method is different to the other types of grant method;
a plurality of authentication method code portions each executable to authenticate the client system using a different authentication method, wherein each respective type of authentication method is different to the other types of authentication method; and
a configurable database comprising a plurality of authorisation system identifiers each indicative of a respective authorisation system, wherein each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of grant method which are supported by the respective authorisation system, and each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of authentication method which are supported by the respective authorisation system;
the client system further comprising:
a receiver configured to receive, from a user device, an access request comprising an instruction for the client system to access a protected resource, the instruction comprising a request identifier indicative of an authorisation system for authorising access to the protected resource;
an identification module configured to:
identify a selected grant method type, in the configurable database, from one or more of the grant method types associated with an authorisation system identifier corresponding to the request identifier;
identify a selected authentication method type, in the configurable database, from one or more of the authentication method types associated with the authorisation system identifier corresponding to the request identifier;
a processor configured to:
execute the grant method code portion corresponding to the selected grant method type to request the access token for accessing the protected resource;
execute the authentication method code portion corresponding to the selected authentication method type to authenticate the client system at the authorisation system; and
wherein the receiver is configured to receive the access token from the authorisation sever, in response to executing the grant method code portion and the authentication method code portion.

### Claim 17

A computer program comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method of:
storing, at a client system:
a plurality of grant method code portions each executable to obtain access to the access token using one of a plurality of types of grant method, wherein each respective type of grant method is different to the other types of grant method; and
a plurality of authentication method code portions each executable to authenticate the client system using a different authentication method, wherein each respective type of authentication method is different to the other types of authentication method;
storing, at the client system, a configurable database comprising a plurality of authorisation system identifiers each indicative of a respective authorisation system, wherein each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of grant method which are supported by the respective authorisation system, and each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of authentication method which are supported by the respective authorisation system;
receiving, at the client system, from a user device an access request comprising an instruction for the client system to access a protected resource, the instruction comprising a request identifier indicative of an authorisation system for authorising access to the protected resource;
identifying, in the configurable database, a selected grant method type from one or more of the grant method types associated with an authorisation system identifier corresponding to the request identifier;
identifying, in the configurable database, a selected authentication method type, from one or more of the authentication method types associated with the authorisation system identifier corresponding to the request identifier;
executing, at the client system, the grant method code portion corresponding to the selected grant method type to request the access token for accessing the protected resource;
executing, at the client system, the authentication method code portion corresponding to the selected authentication method type to authenticate the client system at the authorisation system; and
receiving the access token at the client system from the authorisation sever, in response to executing the grant method code portion and the authentication method code portion.

### Claim 18 (depends on 17)

A data carrier signal carrying the computer program of claim 17.

### Claim 19

A computer readable medium comprising instructions which, when executed by a computer, cause the computer to carry out the method of:
storing, at a client system:
a plurality of grant method code portions each executable to obtain access to the access token using one of a plurality of types of grant method, wherein each respective type of grant method is different to the other types of grant method; and
a plurality of authentication method code portions each executable to authenticate the client system using a different authentication method, wherein each respective type of authentication method is different to the other types of authentication method;
storing, at the client system, a configurable database comprising a plurality of authorisation system identifiers each indicative of a respective authorisation system, wherein each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of grant method which are supported by the respective authorisation system, and each of the plurality of authorisation system identifiers is associated with one or more of the plurality of types of authentication method which are supported by the respective authorisation system;
receiving, at the client system, from a user device an access request comprising an instruction for the client system to access a protected resource, the instruction comprising a request identifier indicative of an authorisation system for authorising access to the protected resource;
identifying, in the configurable database, a selected grant method type from one or more of the grant method types associated with an authorisation system identifier corresponding to the request identifier;
identifying, in the configurable database, a selected authentication method type, from one or more of the authentication method types associated with the authorisation system identifier corresponding to the request identifier;
executing, at the client system, the grant method code portion corresponding to the selected grant method type to request the access token for accessing the protected resource;
executing, at the client system, the authentication method code portion corresponding to the selected authentication method type to authenticate the client system at the authorisation system; and
receiving the access token at the client system from the authorisation sever, in response to executing the grant method code portion and the authentication method code portion.
