Table of Contents

IClientFacade.IsGrantTypeAllowed Method

Checks if this client allows the provided OAuth 2 grant type to be used.

Remarks

This method indicates which OAuth flows are allowed for this client. It's recommended that you create a different client for each (or maximum two) different flows, according to your need.

Syntax

Unit: Sphinx.ClientFacade

function IClientFacade.IsGrantTypeAllowed(const GrantType: string): Boolean; virtual; abstract;

Parameters

<-> Parameter Type Description
const GrantType string

See also