Creates JSON-safe authentication options that can be passed directly into the client helpers.
Optional
Creates JSON-safe authentication options that can be passed directly into the client helpers.