コード例 #1
0
ファイル: instagram.go プロジェクト: h4ckm03d/gomniauth
// CompleteAuth takes a map of arguments that are used to
// complete the authorisation process, completes it, and returns
// the appropriate Credentials.
func (provider *InstagramProvider) CompleteAuth(data objx.Map) (*common.Credentials, error) {
	return oauth2.CompleteAuth(provider.TripperFactory(), data, provider.config, provider)
}
コード例 #2
0
ファイル: hero.go プロジェクト: nguyenducnhaty/hero
// CompleteAuth takes a map of arguments that are used to
// complete the authorisation process, completes it, and returns
// the appropriate Credentials.
func (h *HeroProvider) CompleteAuth(data objx.Map) (*common.Credentials, error) {
	return oauth2.CompleteAuth(h.TripperFactory(), data, h.config, h)
}