Skip to content

feat(client): custom auth func#520

Draft
james-d-elliott wants to merge 1 commit into
wneessen:mainfrom
james-d-elliott:feat-custom-auth-func
Draft

feat(client): custom auth func#520
james-d-elliott wants to merge 1 commit into
wneessen:mainfrom
james-d-elliott:feat-custom-auth-func

Conversation

@james-d-elliott
Copy link
Copy Markdown
Contributor

This allows setting a function to provision the smtp.Auth which allows including the tls.ConnState.

This allows setting a function to provision the smtp.Auth which allows including the tls.ConnState.
@james-d-elliott
Copy link
Copy Markdown
Contributor Author

More of a WIP and request for feedback. The idea is being able to use the methods that rely on the tls.ConnectionState with a custom auth method. Needs docs, tests, and some general checks on if I've missed anything (i.e. wbat other legitimate errors could tls.ConnectionState retrieval have?).

I'm not sure if there is a way you see this being accomplished other than this that is not breaking, or if you'd prefer to just break it here?

@wneessen
Copy link
Copy Markdown
Owner

Thanks for the suggestion James. I'm currently a bit busy, but I'll have a look into this during next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants