github.com/blend/go-sdk@v1.20240719.1/oauth/result.go (about) 1 /* 2 3 Copyright (c) 2024 - Present. Blend Labs, Inc. All rights reserved 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file. 5 6 */ 7 8 package oauth 9 10 import "time" 11 12 // Result is the final result of the oauth exchange. 13 // It is the user profile of the user and the state information. 14 type Result struct { 15 Response Response 16 Profile Profile 17 State State 18 } 19 20 // Response is the response details from the oauth exchange. 21 type Response struct { 22 AccessToken string 23 TokenType string 24 RefreshToken string 25 Expiry time.Time 26 HostedDomain string 27 }