You can secure the applications such as mobile applications, web applications or any type of applications using the OAuth flows supported by the OAuth server.
To access the endpoints of OAuth server, the following information is required:
Client ID
Client Secret
Authorization grant type defined as an OAuth flow
Additional Information such as user, password, redirect URL, authorization code, and so on required for an OAuth flow