build

Creates an OAuth2Client instance with the configured parameters.

Return

A AuthFoundationResult containing the OAuth2Client on success, or an exception on failure.