code: func FromOAuthClient(client *oauthservice.Oauth2Client) APIKey {
  	apiKey := APIKey{
  		CallbackURL:                client.CallbackURL,
  		ClientCredentialsGrantType: client.ClientCredentialsGrantType,
  		Label:  client.Label,
  		Secret: client.Secret,
  	}
  	return apiKey
  }
docs: //FromOAuthClient creates an APIKey instance from an oauthservice.Oauth2Client