@akrami There aren’t any solid examples of custom auth providers because the implementation is very specific to a particular authentication provider.
If you’re wanting to authenticate against a third-party API, then you should probably create a custom user provider that fetches users from this API. The Laravel documentation has information on the contract and the methods you need to implement in any custom user providers: https://laravel.com/docs/master/authentication#adding-custom-user-providers