isConfidential property

bool isConfidential

Whether or not this is a public or confidential client.

Confidential clients have a client secret that must be used when authenticating with a client-authenticated request. Confidential clients are used when you can be sure that the client secret cannot be viewed by anyone outside of the developer.

Implementation

bool get isConfidential => hashedSecret != null;